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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 1.003/1.003, allocations: 143.1 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.144, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4377/0.5817, allocations: 195.2 MB / 0.785 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.5987, allocations: 14.34 MB / 0.799 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.5999, allocations: 35.81 kB / 0.7991 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6013, allocations: 0.4968 MB / 0.7995 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.6054, allocations: 1.89 MB / 0.8014 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.6075, allocations: 0.8512 MB / 0.8022 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002604/0.6101, allocations: 2.573 MB / 0.8047 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.6114, allocations: 1.121 MB / 0.8058 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.6149, allocations: 1.591 MB / 0.8074 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6161, allocations: 0.9335 MB / 0.8083 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6163, allocations: 104 kB / 0.8084 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.6182, allocations: 1.095 MB / 0.8095 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.6187, allocations: 0.4949 MB / 0.8099 GB, free: 376 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.6193, allocations: 0.6416 MB / 0.8106 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.6213, allocations: 1.955 MB / 0.8125 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6213, allocations: 4 kB / 0.8125 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6213, allocations: 0 / 0.8125 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6213, allocations: 0 / 0.8125 GB, free: 13.76 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.002108/0.6235, allocations: 1.449 MB / 0.8139 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6235, allocations: 8.031 kB / 0.8139 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.6237, allocations: 151.5 kB / 0.8141 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.625, allocations: 258.3 kB / 0.8143 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6261, allocations: 0.7492 MB / 0.815 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.6261, allocations: 70 kB / 0.8151 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.6263, allocations: 88 kB / 0.8152 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.6278, allocations: 1.177 MB / 0.8163 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6279, allocations: 3.938 kB / 0.8163 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.628, allocations: 43.94 kB / 0.8164 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.628, allocations: 30 kB / 0.8164 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.6293, allocations: 0.9054 MB / 0.8173 GB, free: 8.668 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.005251/0.6346, allocations: 5.783 MB / 0.8229 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.6354, allocations: 0.5321 MB / 0.8235 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.6358, allocations: 322.7 kB / 0.8238 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.6364, allocations: 307.7 kB / 0.8241 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6364, allocations: 43 kB / 0.8241 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.963e-06/0.6364, allocations: 0 / 0.8241 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001389/0.6378, allocations: 0.8026 MB / 0.8249 GB, free: 364 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6378, allocations: 55.84 kB / 0.8249 GB, free: 296 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.6387, allocations: 0.751 MB / 0.8257 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.6388, allocations: 37.7 kB / 0.8257 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.6391, allocations: 0.5103 MB / 0.8262 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6392, allocations: 169.5 kB / 0.8264 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.6394, allocations: 146.4 kB / 0.8265 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6396, allocations: 341.9 kB / 0.8268 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.6399, allocations: 249.9 kB / 0.8271 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.6405, allocations: 0.5508 MB / 0.8276 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009402/0.6415, allocations: 0.7956 MB / 0.8284 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6415, allocations: 0 / 0.8284 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00118/0.6426, allocations: 0.8543 MB / 0.8292 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.6427, allocations: 8 kB / 0.8292 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6427, allocations: 11.94 kB / 0.8292 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6427, allocations: 12 kB / 0.8292 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.6432, allocations: 151.8 kB / 0.8294 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.6433, allocations: 19.92 kB / 0.8294 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.6439, allocations: 95.39 kB / 0.8295 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.644, allocations: 35.94 kB / 0.8295 GB, free: 11.28 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.0003735/0.6444, allocations: 333.5 kB / 0.8299 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6445, allocations: 82.97 kB / 0.8299 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.6455, allocations: 0.6141 MB / 0.8305 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6455, allocations: 4 kB / 0.8305 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.6455, allocations: 4 kB / 0.8305 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006995/0.6462, allocations: 0.525 MB / 0.8311 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.6484, allocations: 1.667 MB / 0.8327 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6484, allocations: 11.97 kB / 0.8327 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.6489, allocations: 107.8 kB / 0.8328 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6489, allocations: 4 kB / 0.8328 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.6489, allocations: 16 kB / 0.8328 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.649, allocations: 4 kB / 0.8328 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.649, allocations: 3.984 kB / 0.8328 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.6502, allocations: 1.016 MB / 0.8338 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.6505, allocations: 227.8 kB / 0.834 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6506, allocations: 15.98 kB / 0.834 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.6511, allocations: 17.12 kB / 0.8341 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.6512, allocations: 35.89 kB / 0.8341 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.6512, allocations: 16 kB / 0.8341 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005865/0.6518, allocations: 0.5146 MB / 0.8346 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6518, allocations: 0 / 0.8346 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007831/0.6526, allocations: 303.2 kB / 0.8349 GB, free: 5.625 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.001826/0.6544, allocations: 1.669 MB / 0.8365 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.6555, allocations: 0.7135 MB / 0.8372 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6555, allocations: 4.125 kB / 0.8372 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6559, allocations: 271.7 kB / 0.8375 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.6577, allocations: 438.2 kB / 0.8379 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/0.6666, allocations: 7.51 MB / 0.8452 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.6673, allocations: 1.122 MB / 0.8463 GB, free: 9.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008375/0.6681, allocations: 260.1 kB / 0.8466 GB, free: 9.223 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.6686, allocations: 363.3 kB / 0.8469 GB, free: 8.871 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.6686, allocations: 4 kB / 0.8469 GB, free: 8.867 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/0.9615, allocations: 22.89 MB / 0.8693 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.973, allocations: 8.625 kB / 0.8693 GB, free: 209.3 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)