Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7132/0.7132, allocations: 128.7 MB / 144.5 MB, free: 1.402 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.1 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009446, allocations: 105.9 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 53.45 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4777/0.6128, allocations: 198.1 MB / 0.8251 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.6298, allocations: 14.8 MB / 0.8395 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.6315, allocations: 32 kB / 0.8396 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.6331, allocations: 0.4888 MB / 0.84 GB, free: 212 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.6374, allocations: 1.757 MB / 0.8418 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.6399, allocations: 0.8958 MB / 0.8426 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004838/0.6447, allocations: 4.27 MB / 0.8468 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.6462, allocations: 1.028 MB / 0.8478 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.6494, allocations: 1.62 MB / 0.8494 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.6513, allocations: 1.076 MB / 0.8504 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.6515, allocations: 67.59 kB / 0.8505 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.6533, allocations: 0.9823 MB / 0.8515 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005344/0.6539, allocations: 0.5112 MB / 0.852 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.6546, allocations: 0.6804 MB / 0.8526 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.657, allocations: 2.169 MB / 0.8548 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.657, allocations: 11.94 kB / 0.8548 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.042e-06/0.657, allocations: 0 / 0.8548 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.657, allocations: 0 / 0.8548 GB, free: 5.941 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002486/0.6595, allocations: 1.599 MB / 0.8563 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6596, allocations: 8.031 kB / 0.8563 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.6607, allocations: 250.3 kB / 0.8566 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6621, allocations: 0.7804 MB / 0.8573 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.6622, allocations: 78.03 kB / 0.8574 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.6623, allocations: 108 kB / 0.8575 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.6642, allocations: 1.312 MB / 0.8588 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.6642, allocations: 7.922 kB / 0.8588 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6643, allocations: 44 kB / 0.8588 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.6644, allocations: 41.94 kB / 0.8589 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.6659, allocations: 1.034 MB / 0.8599 GB, free: 500 kB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/0.6724, allocations: 6.115 MB / 0.8659 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.6731, allocations: 0.5541 MB / 0.8664 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.6736, allocations: 326.8 kB / 0.8667 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/0.674, allocations: 222.5 kB / 0.8669 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.6741, allocations: 42.98 kB / 0.867 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=52): time 2.574e-06/0.6741, allocations: 0 / 0.867 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.001366/0.6755, allocations: 0.8064 MB / 0.8678 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.6755, allocations: 85.67 kB / 0.8678 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.6764, allocations: 0.8253 MB / 0.8686 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.6765, allocations: 37.7 kB / 0.8687 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.6769, allocations: 0.557 MB / 0.8692 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.6771, allocations: 185.3 kB / 0.8694 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.6774, allocations: 166.4 kB / 0.8696 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6775, allocations: 345.9 kB / 0.8699 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.6779, allocations: 277.8 kB / 0.8702 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.6786, allocations: 0.6279 MB / 0.8708 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.6796, allocations: 0.9091 MB / 0.8717 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6796, allocations: 4 kB / 0.8717 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001438/0.681, allocations: 0.9879 MB / 0.8726 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.6811, allocations: 41.7 kB / 0.8727 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.6811, allocations: 11.98 kB / 0.8727 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.6811, allocations: 16 kB / 0.8727 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.6818, allocations: 179.7 kB / 0.8729 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.6818, allocations: 15.94 kB / 0.8729 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.6827, allocations: 159.1 kB / 0.873 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.6828, allocations: 39.94 kB / 0.8731 GB, free: 2.047 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004626/0.6833, allocations: 349.5 kB / 0.8734 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6834, allocations: 98.81 kB / 0.8735 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.6843, allocations: 0.6221 MB / 0.8741 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.6844, allocations: 4 kB / 0.8741 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6844, allocations: 0 / 0.8741 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006465/0.685, allocations: 0.5134 MB / 0.8746 GB, free: 444 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.6874, allocations: 1.7 MB / 0.8763 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6874, allocations: 0 / 0.8763 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.6879, allocations: 111.9 kB / 0.8764 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.688, allocations: 4 kB / 0.8764 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.688, allocations: 16 kB / 0.8764 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.688, allocations: 4 kB / 0.8764 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.688, allocations: 0 / 0.8764 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006466/0.6945, allocations: 4.857 MB / 0.8811 GB, free: 9.496 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.6949, allocations: 247.8 kB / 0.8814 GB, free: 9.234 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.695, allocations: 16 kB / 0.8814 GB, free: 9.219 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.6956, allocations: 67.78 kB / 0.8815 GB, free: 9.152 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.6957, allocations: 35.89 kB / 0.8815 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.6958, allocations: 27.98 kB / 0.8815 GB, free: 9.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006365/0.6964, allocations: 0.5576 MB / 0.8821 GB, free: 8.539 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6964, allocations: 0 / 0.8821 GB, free: 8.539 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00203/0.6985, allocations: 487.2 kB / 0.8825 GB, free: 8.062 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005095/0.699, allocations: 205.7 kB / 0.8827 GB, free: 7.867 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.7003, allocations: 0.7261 MB / 0.8834 GB, free: 7.129 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7003, allocations: 4.062 kB / 0.8834 GB, free: 7.125 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.7007, allocations: 279.4 kB / 0.8837 GB, free: 6.852 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.7031, allocations: 484.6 kB / 0.8842 GB, free: 6.387 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.7066, allocations: 2.822 MB / 0.8869 GB, free: 3.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.7073, allocations: 1.165 MB / 0.8881 GB, free: 2.305 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009068/0.7082, allocations: 280.7 kB / 0.8883 GB, free: 2.027 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.7084, allocations: 75.42 kB / 0.8884 GB, free: 1.957 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/0.7084, allocations: 0 / 0.8884 GB, free: 1.957 MB / 0.573 GB Notification: Performance of Templates: time 0.02709/0.7355, allocations: 18.13 MB / 0.9061 GB, free: 60 kB / 0.5886 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)