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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0009646/0.0009652, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009817/0.000982, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8423/0.8423, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 67.89 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 82.04 MB / 0.5937 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.36/0.4795, allocations: 192.9 MB / 0.7821 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4942, allocations: 14.42 MB / 0.7962 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.4952, allocations: 31.81 kB / 0.7963 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.4964, allocations: 425.7 kB / 0.7967 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.4999, allocations: 1.767 MB / 0.7984 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.5016, allocations: 0.7702 MB / 0.7991 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.5045, allocations: 3.614 MB / 0.8027 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.5056, allocations: 0.9508 MB / 0.8036 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.509, allocations: 1.449 MB / 0.805 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.5102, allocations: 0.963 MB / 0.806 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.5103, allocations: 60 kB / 0.806 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.5122, allocations: 1.259 MB / 0.8072 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5126, allocations: 458.8 kB / 0.8077 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.5132, allocations: 0.5869 MB / 0.8082 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.515, allocations: 1.986 MB / 0.8102 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.515, allocations: 3.938 kB / 0.8102 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.41e-07/0.515, allocations: 0 / 0.8102 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.515, allocations: 4 kB / 0.8102 GB, free: 15.96 MB / 0.6387 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.001906/0.5169, allocations: 1.46 MB / 0.8116 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.517, allocations: 8.031 kB / 0.8116 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.5171, allocations: 143.6 kB / 0.8118 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.5183, allocations: 262.3 kB / 0.812 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5194, allocations: 0.7531 MB / 0.8128 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.5194, allocations: 70 kB / 0.8128 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5196, allocations: 99.98 kB / 0.8129 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.521, allocations: 1.161 MB / 0.814 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5211, allocations: 4 kB / 0.8141 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.5211, allocations: 47.92 kB / 0.8141 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.5212, allocations: 34 kB / 0.8141 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.5224, allocations: 0.8976 MB / 0.815 GB, free: 10.86 MB / 0.6387 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.004849/0.5273, allocations: 5.731 MB / 0.8206 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.5281, allocations: 0.5355 MB / 0.8211 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.5285, allocations: 327.1 kB / 0.8214 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/0.529, allocations: 315.7 kB / 0.8217 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5291, allocations: 39 kB / 0.8218 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.5291, allocations: 0 / 0.8218 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001336/0.5304, allocations: 0.7948 MB / 0.8226 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.5304, allocations: 55.84 kB / 0.8226 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.5312, allocations: 0.7549 MB / 0.8233 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.5313, allocations: 37.7 kB / 0.8234 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.5316, allocations: 0.5065 MB / 0.8239 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.5318, allocations: 173.5 kB / 0.824 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.532, allocations: 146.4 kB / 0.8242 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5321, allocations: 337.9 kB / 0.8245 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.5324, allocations: 253.8 kB / 0.8247 GB, free: 304 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.533, allocations: 0.5507 MB / 0.8253 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.5339, allocations: 0.7957 MB / 0.8261 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5339, allocations: 7.938 kB / 0.8261 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001115/0.535, allocations: 0.8467 MB / 0.8269 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.535, allocations: 8.156 kB / 0.8269 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.535, allocations: 12 kB / 0.8269 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5351, allocations: 12 kB / 0.8269 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.5356, allocations: 155.7 kB / 0.8271 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.5356, allocations: 12 kB / 0.8271 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.5364, allocations: 147 kB / 0.8272 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.5364, allocations: 39.92 kB / 0.8273 GB, free: 13.46 MB / 0.6544 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.0003553/0.5368, allocations: 325.5 kB / 0.8276 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5369, allocations: 90.91 kB / 0.8277 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.5378, allocations: 0.6218 MB / 0.8283 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5378, allocations: 8 kB / 0.8283 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5378, allocations: 8 kB / 0.8283 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000653/0.5385, allocations: 0.5134 MB / 0.8288 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.5406, allocations: 1.667 MB / 0.8304 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5407, allocations: 11.92 kB / 0.8304 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.5411, allocations: 103.9 kB / 0.8305 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5412, allocations: 4 kB / 0.8305 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.5412, allocations: 15.98 kB / 0.8305 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5412, allocations: 7.938 kB / 0.8305 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.5412, allocations: 0 / 0.8305 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5424, allocations: 1.019 MB / 0.8315 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.5427, allocations: 227.9 kB / 0.8318 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.5428, allocations: 16 kB / 0.8318 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.5433, allocations: 66.78 kB / 0.8318 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5434, allocations: 31.91 kB / 0.8319 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5434, allocations: 23.98 kB / 0.8319 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005161/0.544, allocations: 0.5107 MB / 0.8324 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.544, allocations: 0 / 0.8324 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007047/0.5447, allocations: 299.4 kB / 0.8327 GB, free: 7.758 MB / 0.6544 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.001613/0.5463, allocations: 1.665 MB / 0.8343 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.5471, allocations: 0.6073 MB / 0.8349 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5471, allocations: 4 kB / 0.8349 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.5474, allocations: 271.6 kB / 0.8352 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.5492, allocations: 445.1 kB / 0.8356 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008549/0.5578, allocations: 7.85 MB / 0.8432 GB, free: 12.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.5584, allocations: 1.118 MB / 0.8443 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007322/0.5591, allocations: 270.8 kB / 0.8446 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.5596, allocations: 359.3 kB / 0.8449 GB, free: 10.75 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.5596, allocations: 0 / 0.8449 GB, free: 10.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.444/3.004, allocations: 22.31 MB / 0.8667 GB, free: 207 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/3.004, allocations: 255.5 kB / 0.867 GB, free: 206.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/5.769, allocations: 2.375 kB / 0.867 GB, free: 206.7 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/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)