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.004513/0.004513, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001042/0.001042, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.8229/0.8229, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.95 kB / 0.5951 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 82.03 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5283/0.668, allocations: 195.2 MB / 0.8658 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.6841, allocations: 14.35 MB / 0.8798 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.6854, allocations: 39.75 kB / 0.8799 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.6869, allocations: 0.5163 MB / 0.8804 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.6914, allocations: 1.953 MB / 0.8823 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.6938, allocations: 0.8795 MB / 0.8831 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.6972, allocations: 2.569 MB / 0.8856 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.6988, allocations: 1.115 MB / 0.8867 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.7031, allocations: 1.643 MB / 0.8883 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.7048, allocations: 0.9289 MB / 0.8893 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.7051, allocations: 108 kB / 0.8894 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.7074, allocations: 1.111 MB / 0.8904 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.7079, allocations: 0.4949 MB / 0.8909 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007856/0.7087, allocations: 0.6377 MB / 0.8915 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.7116, allocations: 1.981 MB / 0.8935 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7116, allocations: 4 kB / 0.8935 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7116, allocations: 0 / 0.8935 GB, free: 14.31 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.7116, allocations: 3.938 kB / 0.8935 GB, free: 14.3 MB / 0.67 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.002241/0.7139, allocations: 1.49 MB / 0.8949 GB, free: 12.76 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7139, allocations: 8.031 kB / 0.8949 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.7141, allocations: 147.6 kB / 0.8951 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.7155, allocations: 262.9 kB / 0.8953 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.7168, allocations: 0.7928 MB / 0.8961 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.7169, allocations: 77.98 kB / 0.8962 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.7171, allocations: 88 kB / 0.8963 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.7188, allocations: 1.177 MB / 0.8974 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7188, allocations: 0 / 0.8974 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.7189, allocations: 39.94 kB / 0.8975 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.7189, allocations: 34 kB / 0.8975 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.7203, allocations: 0.9054 MB / 0.8984 GB, free: 9.121 MB / 0.67 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.00586/0.7262, allocations: 5.756 MB / 0.904 GB, free: 2.914 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.7271, allocations: 0.5402 MB / 0.9045 GB, free: 2.363 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.7275, allocations: 314.6 kB / 0.9048 GB, free: 2.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.728, allocations: 307.8 kB / 0.9051 GB, free: 1.699 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.7281, allocations: 50.98 kB / 0.9052 GB, free: 1.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.7281, allocations: 0 / 0.9052 GB, free: 1.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001505/0.7296, allocations: 0.8069 MB / 0.906 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.7297, allocations: 59.84 kB / 0.906 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.7305, allocations: 0.7471 MB / 0.9067 GB, free: 0 / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.7306, allocations: 37.7 kB / 0.9068 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.731, allocations: 0.5194 MB / 0.9073 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.7311, allocations: 190.4 kB / 0.9075 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.7313, allocations: 138.6 kB / 0.9076 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7315, allocations: 341.9 kB / 0.9079 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.7318, allocations: 245.9 kB / 0.9082 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.7324, allocations: 0.5508 MB / 0.9087 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.7334, allocations: 0.8034 MB / 0.9095 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7334, allocations: 0 / 0.9095 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001241/0.7346, allocations: 0.8465 MB / 0.9103 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.7347, allocations: 11.94 kB / 0.9103 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7347, allocations: 8.844 kB / 0.9103 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.7347, allocations: 15.94 kB / 0.9103 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.7353, allocations: 155.8 kB / 0.9105 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.7353, allocations: 19.92 kB / 0.9105 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.736, allocations: 91.34 kB / 0.9106 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.7361, allocations: 39.94 kB / 0.9106 GB, free: 11.73 MB / 0.6856 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.0004206/0.7365, allocations: 333.4 kB / 0.911 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.7367, allocations: 91.44 kB / 0.911 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.7376, allocations: 0.6179 MB / 0.9116 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.7376, allocations: 8 kB / 0.9117 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7377, allocations: 0 / 0.9117 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006853/0.7383, allocations: 0.5134 MB / 0.9122 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.7407, allocations: 1.678 MB / 0.9138 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.7408, allocations: 7.938 kB / 0.9138 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.7413, allocations: 107.9 kB / 0.9139 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.7413, allocations: 4 kB / 0.9139 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.7414, allocations: 16 kB / 0.9139 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.7414, allocations: 4 kB / 0.9139 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7414, allocations: 224 / 0.9139 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.7427, allocations: 1.027 MB / 0.9149 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.743, allocations: 228.4 kB / 0.9151 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7431, allocations: 12 kB / 0.9152 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.7436, allocations: 19.98 kB / 0.9152 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.7437, allocations: 39.89 kB / 0.9152 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.7437, allocations: 16 kB / 0.9152 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006136/0.7444, allocations: 0.5107 MB / 0.9157 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7444, allocations: 4 kB / 0.9157 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008839/0.7453, allocations: 299.4 kB / 0.916 GB, free: 6.059 MB / 0.6856 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.001888/0.7472, allocations: 1.684 MB / 0.9177 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009358/0.7481, allocations: 0.6034 MB / 0.9183 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7481, allocations: 0 / 0.9183 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.7485, allocations: 281 kB / 0.9185 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7504, allocations: 435.4 kB / 0.9189 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/0.7594, allocations: 7.244 MB / 0.926 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.7601, allocations: 1.122 MB / 0.9271 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008215/0.761, allocations: 271.1 kB / 0.9274 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.7614, allocations: 355.3 kB / 0.9277 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.7614, allocations: 0 / 0.9277 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.8086, allocations: 23.13 MB / 0.9503 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.75, allocations: 5.828 kB / 0.9503 GB, free: 2.859 MB / 0.7169 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)