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.000734/0.0007341, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009402/0.0009402, allocations: 172.7 kB / 15.95 MB, free: 208 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.358/1.358, allocations: 223.3 MB / 240 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 0.962/0.962, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 12 kB / 0.5161 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 83.42 MB / 0.5975 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4924/0.666, allocations: 177.6 MB / 0.771 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.6812, allocations: 13.32 MB / 0.784 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6824, allocations: 31.81 kB / 0.784 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.6837, allocations: 349.8 kB / 0.7844 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.6875, allocations: 1.368 MB / 0.7857 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6897, allocations: 0.6631 MB / 0.7863 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00406/0.6938, allocations: 3.064 MB / 0.7893 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.6954, allocations: 0.8017 MB / 0.7901 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.6985, allocations: 1.202 MB / 0.7913 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.7002, allocations: 0.8913 MB / 0.7922 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.7003, allocations: 48 kB / 0.7922 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.7021, allocations: 0.5613 MB / 0.7928 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/0.7026, allocations: 450.7 kB / 0.7932 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.703, allocations: 249.1 kB / 0.7934 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.7044, allocations: 1.418 MB / 0.7948 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7044, allocations: 4 kB / 0.7948 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7044, allocations: 4 kB / 0.7948 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.7044, allocations: 0 / 0.7948 GB, free: 1.98 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.001783/0.7062, allocations: 1.245 MB / 0.796 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7063, allocations: 12.03 kB / 0.796 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.7064, allocations: 148.1 kB / 0.7962 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.7077, allocations: 250.4 kB / 0.7964 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.7091, allocations: 0.8243 MB / 0.7972 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.7091, allocations: 70 kB / 0.7973 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.7093, allocations: 103.9 kB / 0.7974 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.7109, allocations: 1.165 MB / 0.7985 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.711, allocations: 3.938 kB / 0.7985 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.7111, allocations: 40 kB / 0.7986 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.7111, allocations: 34.8 kB / 0.7986 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.7124, allocations: 0.8976 MB / 0.7995 GB, free: 13.03 MB / 0.6231 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.00504/0.7175, allocations: 5.758 MB / 0.8051 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.7183, allocations: 0.5656 MB / 0.8057 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.7187, allocations: 331.9 kB / 0.806 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.7193, allocations: 327.7 kB / 0.8063 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.7194, allocations: 46.95 kB / 0.8063 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.916e-06/0.7194, allocations: 0 / 0.8063 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001432/0.7208, allocations: 0.822 MB / 0.8071 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.7209, allocations: 89.48 kB / 0.8072 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.7217, allocations: 0.7431 MB / 0.8079 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.7218, allocations: 37.7 kB / 0.808 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.7221, allocations: 0.5067 MB / 0.8085 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.7223, allocations: 189.3 kB / 0.8087 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7223, allocations: 8 kB / 0.8087 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7224, allocations: 338 kB / 0.809 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.7228, allocations: 249.8 kB / 0.8092 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.7234, allocations: 0.5731 MB / 0.8098 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.724, allocations: 360.6 kB / 0.8101 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.724, allocations: 4 kB / 0.8101 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001301/0.7253, allocations: 0.8584 MB / 0.811 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7253, allocations: 12.16 kB / 0.811 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.7254, allocations: 11.95 kB / 0.811 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.7254, allocations: 12 kB / 0.811 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.726, allocations: 163.7 kB / 0.8112 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.726, allocations: 15.94 kB / 0.8112 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.7268, allocations: 155 kB / 0.8113 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.7269, allocations: 32 kB / 0.8114 GB, free: 124 kB / 0.6231 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.0004116/0.7273, allocations: 333.5 kB / 0.8117 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.7274, allocations: 86.88 kB / 0.8118 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.7284, allocations: 0.6336 MB / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.7284, allocations: 7.953 kB / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7285, allocations: 3.938 kB / 0.8124 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007109/0.7292, allocations: 0.5289 MB / 0.8129 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.7316, allocations: 1.778 MB / 0.8146 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.7316, allocations: 0 / 0.8146 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.7321, allocations: 107.9 kB / 0.8147 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7321, allocations: 4 kB / 0.8147 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.7322, allocations: 19.31 kB / 0.8148 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7322, allocations: 7.938 kB / 0.8148 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7322, allocations: 7.984 kB / 0.8148 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.7335, allocations: 1.049 MB / 0.8158 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.7339, allocations: 235.8 kB / 0.816 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.734, allocations: 12 kB / 0.816 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.7346, allocations: 63.94 kB / 0.8161 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.7347, allocations: 27.97 kB / 0.8161 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.7347, allocations: 23.98 kB / 0.8162 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006096/0.7353, allocations: 0.5107 MB / 0.8167 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7353, allocations: 0 / 0.8167 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008695/0.7362, allocations: 307.3 kB / 0.8169 GB, free: 10.23 MB / 0.6387 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.001984/0.7382, allocations: 1.7 MB / 0.8186 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009597/0.7392, allocations: 0.6236 MB / 0.8192 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7392, allocations: 0 / 0.8192 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.7396, allocations: 280.5 kB / 0.8195 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.7415, allocations: 438.6 kB / 0.8199 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.7508, allocations: 5.723 MB / 0.8255 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/0.7517, allocations: 1.122 MB / 0.8266 GB, free: 76 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009788/0.7527, allocations: 275.3 kB / 0.8268 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.7532, allocations: 371.3 kB / 0.8272 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.7532, allocations: 3.938 kB / 0.8272 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.7926, allocations: 23.39 MB / 0.85 GB, free: 8.488 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.7928, allocations: 233.1 kB / 0.8503 GB, free: 8.246 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.996, allocations: 0 / 0.8503 GB, free: 8.246 MB / 0.67 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: