Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001244, allocations: 104.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.59 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5593/0.7078, allocations: 195.1 MB / 0.8221 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.7233, allocations: 14.31 MB / 0.8361 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.7251, allocations: 34.88 kB / 0.8361 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.7268, allocations: 0.5019 MB / 0.8366 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.7317, allocations: 1.888 MB / 0.8384 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.7342, allocations: 0.8705 MB / 0.8393 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.7374, allocations: 2.567 MB / 0.8418 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.7391, allocations: 1.116 MB / 0.8429 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/0.7434, allocations: 1.618 MB / 0.8445 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.7452, allocations: 0.9225 MB / 0.8454 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.7455, allocations: 105.7 kB / 0.8455 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.7481, allocations: 1.101 MB / 0.8466 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007057/0.7488, allocations: 0.4973 MB / 0.847 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.7502, allocations: 0.6394 MB / 0.8477 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.7538, allocations: 1.907 MB / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.7538, allocations: 3.938 kB / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7538, allocations: 0 / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.226e-05/0.7539, allocations: 0 / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003088/0.757, allocations: 1.448 MB / 0.8509 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7571, allocations: 14.27 kB / 0.851 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002607/0.7573, allocations: 142.7 kB / 0.8511 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.7589, allocations: 260.2 kB / 0.8513 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7605, allocations: 0.7922 MB / 0.8521 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.7606, allocations: 70 kB / 0.8522 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.7607, allocations: 95.91 kB / 0.8523 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.7626, allocations: 1.178 MB / 0.8534 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7626, allocations: 0 / 0.8534 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.7627, allocations: 43.94 kB / 0.8535 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.7628, allocations: 30 kB / 0.8535 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.7642, allocations: 0.9054 MB / 0.8544 GB, free: 8 MB / 0.6075 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.006198/0.7704, allocations: 5.736 MB / 0.86 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.7713, allocations: 0.5388 MB / 0.8605 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.7717, allocations: 322.5 kB / 0.8608 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.7723, allocations: 311.2 kB / 0.8611 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.7724, allocations: 35 kB / 0.8611 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.7724, allocations: 4 kB / 0.8611 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001569/0.7739, allocations: 0.8064 MB / 0.8619 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.774, allocations: 63.83 kB / 0.862 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.775, allocations: 0.7431 MB / 0.8627 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.7751, allocations: 37.7 kB / 0.8628 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.7755, allocations: 0.5046 MB / 0.8632 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7756, allocations: 181.9 kB / 0.8634 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.7759, allocations: 146.5 kB / 0.8636 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.776, allocations: 337.9 kB / 0.8639 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.7763, allocations: 245.8 kB / 0.8641 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.7769, allocations: 0.5547 MB / 0.8647 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000929/0.7779, allocations: 0.7956 MB / 0.8654 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.7779, allocations: 8 kB / 0.8654 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00129/0.7792, allocations: 0.8384 MB / 0.8663 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7792, allocations: 8 kB / 0.8663 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.7792, allocations: 15.98 kB / 0.8663 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.7793, allocations: 12 kB / 0.8663 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.7798, allocations: 156.4 kB / 0.8664 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.7799, allocations: 11.94 kB / 0.8665 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.7807, allocations: 99.09 kB / 0.8666 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.7808, allocations: 35.94 kB / 0.8666 GB, free: 10.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0005087/0.7813, allocations: 325.5 kB / 0.8669 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.7815, allocations: 90.89 kB / 0.867 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.7825, allocations: 0.6218 MB / 0.8676 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.7825, allocations: 4 kB / 0.8676 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7825, allocations: 4 kB / 0.8676 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006695/0.7832, allocations: 0.5173 MB / 0.8681 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.7857, allocations: 1.671 MB / 0.8697 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.7857, allocations: 7.938 kB / 0.8697 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.7862, allocations: 115.8 kB / 0.8699 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.7863, allocations: 0 / 0.8699 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.7863, allocations: 16 kB / 0.8699 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-06/0.7863, allocations: 6.344 kB / 0.8699 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7863, allocations: 4 kB / 0.8699 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7876, allocations: 1.019 MB / 0.8709 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.788, allocations: 231.9 kB / 0.8711 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7882, allocations: 8 kB / 0.8711 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.7887, allocations: 23.92 kB / 0.8711 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.7888, allocations: 31.91 kB / 0.8712 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.7888, allocations: 19.98 kB / 0.8712 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006451/0.7895, allocations: 0.5107 MB / 0.8717 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7895, allocations: 0 / 0.8717 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000942/0.7904, allocations: 299.3 kB / 0.872 GB, free: 5.059 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (49): * Single equations (assignments): 49 * 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.001904/0.7923, allocations: 1.654 MB / 0.8736 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009774/0.7933, allocations: 0.6199 MB / 0.8742 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7933, allocations: 0 / 0.8742 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.7937, allocations: 275.8 kB / 0.8744 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.7955, allocations: 453.2 kB / 0.8749 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.805, allocations: 7.202 MB / 0.8819 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.8057, allocations: 1.125 MB / 0.883 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008022/0.8066, allocations: 263 kB / 0.8833 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/0.807, allocations: 363.3 kB / 0.8836 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.8071, allocations: 4 kB / 0.8836 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/0.8598, allocations: 23.43 MB / 0.9065 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.003/9.863, allocations: 11.45 kB / 0.9065 GB, free: 1.59 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)