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.001443/0.001443, allocations: 104.1 kB / 16.4 MB, free: 6.492 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.00151/0.00151, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.73 kB / 0.5572 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 76.18 MB / 0.6316 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6342/0.7782, allocations: 195.1 MB / 0.8221 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.7969, allocations: 14.32 MB / 0.8361 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.7988, allocations: 34.56 kB / 0.8361 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.8009, allocations: 0.5025 MB / 0.8366 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005878/0.8069, allocations: 1.881 MB / 0.8384 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.8098, allocations: 0.8612 MB / 0.8393 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003823/0.8136, allocations: 2.575 MB / 0.8418 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.8156, allocations: 1.128 MB / 0.8429 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.8202, allocations: 1.613 MB / 0.8445 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.8222, allocations: 0.9185 MB / 0.8454 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.8226, allocations: 108.2 kB / 0.8455 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.8254, allocations: 1.106 MB / 0.8466 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008114/0.8262, allocations: 0.4924 MB / 0.847 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.8278, allocations: 0.6419 MB / 0.8477 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.8316, allocations: 1.902 MB / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8316, allocations: 3.938 kB / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8316, allocations: 0 / 0.8495 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.459e-05/0.8317, 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.003571/0.8353, allocations: 1.448 MB / 0.8509 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8353, allocations: 14.39 kB / 0.851 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003439/0.8357, allocations: 144.3 kB / 0.8511 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.8374, allocations: 259.3 kB / 0.8513 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.8392, allocations: 0.7888 MB / 0.8521 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.8393, allocations: 68.38 kB / 0.8522 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.8395, allocations: 99.91 kB / 0.8523 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.8415, allocations: 1.169 MB / 0.8534 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.8415, allocations: 4 kB / 0.8534 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.8416, allocations: 50.42 kB / 0.8535 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.8417, allocations: 30 kB / 0.8535 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.8432, allocations: 0.9054 MB / 0.8544 GB, free: 8.035 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.006629/0.8498, allocations: 5.734 MB / 0.86 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.8507, allocations: 0.5388 MB / 0.8605 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.8512, allocations: 322.5 kB / 0.8608 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.8518, allocations: 310.3 kB / 0.8611 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.8518, allocations: 35 kB / 0.8611 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/0.8518, allocations: 0 / 0.8611 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001559/0.8534, allocations: 0.8142 MB / 0.8619 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.8535, allocations: 55.84 kB / 0.862 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009814/0.8544, allocations: 0.747 MB / 0.8627 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.8545, allocations: 37.7 kB / 0.8628 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.8549, allocations: 0.5059 MB / 0.8633 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.8551, allocations: 179 kB / 0.8634 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.8553, allocations: 146.5 kB / 0.8636 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8555, allocations: 337.9 kB / 0.8639 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.8559, allocations: 249.8 kB / 0.8641 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.8565, allocations: 0.5508 MB / 0.8647 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.8575, allocations: 0.7956 MB / 0.8654 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.8575, allocations: 4 kB / 0.8654 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00135/0.8589, allocations: 0.8463 MB / 0.8663 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.8589, allocations: 12 kB / 0.8663 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.8589, allocations: 11.98 kB / 0.8663 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.859, allocations: 12 kB / 0.8663 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.8595, allocations: 151.8 kB / 0.8664 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/0.8596, allocations: 16.47 kB / 0.8665 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.8604, allocations: 95.09 kB / 0.8666 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.8604, allocations: 35.94 kB / 0.8666 GB, free: 10.75 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.000469/0.8609, allocations: 329.5 kB / 0.8669 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.8611, allocations: 90.94 kB / 0.867 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8621, allocations: 0.6296 MB / 0.8676 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8621, allocations: 8 kB / 0.8676 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8621, allocations: 0 / 0.8676 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007117/0.8629, allocations: 0.5134 MB / 0.8681 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.8655, allocations: 1.675 MB / 0.8697 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8655, allocations: 3.938 kB / 0.8698 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.866, allocations: 115.8 kB / 0.8699 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.8661, allocations: 4 kB / 0.8699 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.8661, allocations: 8 kB / 0.8699 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.8661, allocations: 4 kB / 0.8699 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8661, allocations: 4 kB / 0.8699 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.8675, allocations: 1.019 MB / 0.8709 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.8679, allocations: 223.9 kB / 0.8711 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8681, allocations: 16 kB / 0.8711 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.8686, allocations: 23.92 kB / 0.8711 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.8687, allocations: 35.89 kB / 0.8712 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.8687, allocations: 12 kB / 0.8712 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006849/0.8694, allocations: 0.5146 MB / 0.8717 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8694, allocations: 0 / 0.8717 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001002/0.8704, allocations: 299.3 kB / 0.872 GB, free: 5.094 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.002053/0.8725, allocations: 1.659 MB / 0.8736 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009966/0.8735, allocations: 0.6119 MB / 0.8742 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8735, allocations: 4.25 kB / 0.8742 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.8739, allocations: 283.7 kB / 0.8745 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.8759, allocations: 441.5 kB / 0.8749 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.886, allocations: 7.199 MB / 0.8819 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/0.8869, allocations: 1.129 MB / 0.883 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008313/0.8878, allocations: 263 kB / 0.8833 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.8883, allocations: 363.3 kB / 0.8836 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.8883, allocations: 0 / 0.8836 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.9422, allocations: 23.43 MB / 0.9065 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.121/10.06, allocations: 5.281 kB / 0.9065 GB, free: 1.633 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)