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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_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.00102/0.00102, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001354/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.038/1.038, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1846, allocations: 83.41 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5123/0.697, allocations: 161.9 MB / 0.7554 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.715, allocations: 12.2 MB / 0.7673 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.7167, allocations: 27.81 kB / 0.7673 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.7187, allocations: 497.7 kB / 0.7678 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.7239, allocations: 1.563 MB / 0.7693 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.7267, allocations: 0.9359 MB / 0.7703 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.7291, allocations: 1.484 MB / 0.7717 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.7303, allocations: 0.8276 MB / 0.7725 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.7327, allocations: 1.106 MB / 0.7736 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/0.7336, allocations: 0.6306 MB / 0.7742 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.7337, allocations: 48 kB / 0.7743 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.7352, allocations: 0.5343 MB / 0.7748 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.7356, allocations: 407 kB / 0.7752 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.7359, allocations: 261.1 kB / 0.7754 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.7373, allocations: 1.378 MB / 0.7768 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7373, allocations: 3.938 kB / 0.7768 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7373, allocations: 0 / 0.7768 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.7373, allocations: 0 / 0.7768 GB, free: 4.262 MB / 0.5919 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.002005/0.7393, allocations: 1.241 MB / 0.778 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7394, allocations: 8.031 kB / 0.778 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.7395, allocations: 143.6 kB / 0.7781 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.7409, allocations: 254.4 kB / 0.7784 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.7423, allocations: 0.7466 MB / 0.7791 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.7424, allocations: 74 kB / 0.7792 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7425, allocations: 99.94 kB / 0.7793 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.7441, allocations: 1.165 MB / 0.7804 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7442, allocations: 0 / 0.7804 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.7442, allocations: 40 kB / 0.7804 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.7443, allocations: 34 kB / 0.7805 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.7456, allocations: 0.9015 MB / 0.7814 GB, free: 15.4 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.005492/0.7511, allocations: 5.751 MB / 0.787 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.752, allocations: 0.5735 MB / 0.7875 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.7524, allocations: 141.5 kB / 0.7877 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.7525, allocations: 46.92 kB / 0.7877 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.7525, allocations: 0 / 0.7877 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001656/0.7541, allocations: 0.8298 MB / 0.7885 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7542, allocations: 85.48 kB / 0.7886 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009343/0.7551, allocations: 0.7509 MB / 0.7893 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.7552, allocations: 37.7 kB / 0.7894 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.7556, allocations: 0.4988 MB / 0.7899 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.7558, allocations: 189.4 kB / 0.79 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.7558, allocations: 20 kB / 0.7901 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7559, allocations: 330 kB / 0.7904 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.7563, allocations: 253.8 kB / 0.7906 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.7569, allocations: 0.5692 MB / 0.7912 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.7575, allocations: 364.6 kB / 0.7915 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.7575, allocations: 4 kB / 0.7915 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001361/0.7589, allocations: 0.8498 MB / 0.7923 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.7589, allocations: 8.969 kB / 0.7924 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.7589, allocations: 11.94 kB / 0.7924 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.759, allocations: 19.95 kB / 0.7924 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.7596, allocations: 163.7 kB / 0.7925 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.7596, allocations: 16.88 kB / 0.7926 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.7607, allocations: 151 kB / 0.7927 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.7607, allocations: 32 kB / 0.7927 GB, free: 3.027 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005763/0.7613, allocations: 333.5 kB / 0.7931 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.7615, allocations: 90.81 kB / 0.7931 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.7625, allocations: 0.6343 MB / 0.7938 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7625, allocations: 4 kB / 0.7938 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7625, allocations: 4.578 kB / 0.7938 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007244/0.7632, allocations: 0.5328 MB / 0.7943 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.766, allocations: 1.766 MB / 0.796 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.766, allocations: 4 kB / 0.796 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.7666, allocations: 112.4 kB / 0.7961 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.7666, allocations: 4 kB / 0.7961 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.7666, allocations: 16 kB / 0.7961 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.7667, allocations: 7.938 kB / 0.7962 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.7667, allocations: 6.562 kB / 0.7962 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.7681, allocations: 1.133 MB / 0.7973 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.7686, allocations: 239.8 kB / 0.7975 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7687, allocations: 16 kB / 0.7975 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.7693, allocations: 67.88 kB / 0.7976 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.7694, allocations: 36.09 kB / 0.7976 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.7694, allocations: 16 kB / 0.7976 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006799/0.7701, allocations: 0.5068 MB / 0.7981 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7701, allocations: 0 / 0.7981 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009671/0.7711, allocations: 307.3 kB / 0.7984 GB, free: 13 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.7733, allocations: 2.35 MB / 0.8007 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7745, allocations: 0.616 MB / 0.8013 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7745, allocations: 4.125 kB / 0.8013 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.7749, allocations: 275.7 kB / 0.8016 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.7769, allocations: 438.5 kB / 0.802 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.7879, allocations: 10.78 MB / 0.8125 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.7887, allocations: 1.146 MB / 0.8136 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009782/0.7896, allocations: 272.2 kB / 0.8139 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.7901, allocations: 375.3 kB / 0.8143 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of SimCode: time 1.492e-06/0.7901, allocations: 0 / 0.8143 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.8317, allocations: 23.36 MB / 0.8371 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.832, allocations: 231.4 kB / 0.8373 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.109, allocations: 3.938 kB / 0.8373 GB, free: 5.23 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: