Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.413/1.413, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009059/0.000906, allocations: 179 kB / 372.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.4 MB / 0.631 GB, free: 9.789 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007266, allocations: 82.38 kB / 0.7444 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 12.78 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5274/0.6885, allocations: 170.4 MB / 1.147 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.7051, allocations: 12.1 MB / 1.158 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.7063, allocations: 26.44 kB / 1.158 GB, free: 4.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.7074, allocations: 311.2 kB / 1.159 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.7101, allocations: 1.018 MB / 1.16 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.7117, allocations: 0.5404 MB / 1.16 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.7144, allocations: 2.335 MB / 1.162 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.7156, allocations: 0.7124 MB / 1.163 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.7194, allocations: 1.552 MB / 1.165 GB, free: 492 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.721, allocations: 0.6312 MB / 1.165 GB, free: 132 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.7212, allocations: 34.22 kB / 1.165 GB, free: 132 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.7234, allocations: 0.9422 MB / 1.166 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.7239, allocations: 333.9 kB / 1.167 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.7248, allocations: 455.6 kB / 1.167 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.7263, allocations: 1.086 MB / 1.168 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.7263, allocations: 5.391 kB / 1.168 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7264, allocations: 0 / 1.168 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.7264, allocations: 4 kB / 1.168 GB, free: 14.42 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001542/0.7279, allocations: 1.042 MB / 1.169 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.728, allocations: 9.094 kB / 1.169 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.7281, allocations: 121.8 kB / 1.169 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.7292, allocations: 217.3 kB / 1.169 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.7301, allocations: 0.6313 MB / 1.17 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.7301, allocations: 61.45 kB / 1.17 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.7303, allocations: 79.44 kB / 1.17 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.7316, allocations: 0.9239 MB / 1.171 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7316, allocations: 2.094 kB / 1.171 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.7317, allocations: 40.62 kB / 1.171 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.7317, allocations: 31.55 kB / 1.171 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.7327, allocations: 0.6103 MB / 1.172 GB, free: 11.8 MB / 0.7136 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.004061/0.7367, allocations: 4.59 MB / 1.176 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.7375, allocations: 0.539 MB / 1.177 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.7378, allocations: 243.9 kB / 1.177 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.738, allocations: 101.5 kB / 1.177 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.738, allocations: 45.44 kB / 1.177 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.7381, allocations: 0 / 1.177 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002549/0.7406, allocations: 1.576 MB / 1.179 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.7407, allocations: 112.5 kB / 1.179 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.7414, allocations: 0.7037 MB / 1.179 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.7415, allocations: 40.61 kB / 1.18 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.7418, allocations: 409 kB / 1.18 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.7419, allocations: 167.4 kB / 1.18 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.7419, allocations: 10.91 kB / 1.18 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7421, allocations: 385.6 kB / 1.18 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.7423, allocations: 180.2 kB / 1.181 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.7427, allocations: 416.8 kB / 1.181 GB, free: 3.977 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.7447, allocations: 1.156 MB / 1.182 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7447, allocations: 0 / 1.182 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008714/0.7456, allocations: 0.6677 MB / 1.183 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7456, allocations: 8.031 kB / 1.183 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7457, allocations: 9.797 kB / 1.183 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7457, allocations: 8 kB / 1.183 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.7461, allocations: 127.2 kB / 1.183 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.7461, allocations: 14.91 kB / 1.183 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.7468, allocations: 51.28 kB / 1.183 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.7468, allocations: 30 kB / 1.183 GB, free: 2.77 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004256/0.7473, allocations: 270.3 kB / 1.183 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7474, allocations: 92.16 kB / 1.183 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.7476, allocations: 92.23 kB / 1.183 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.7476, allocations: 5.062 kB / 1.183 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.7476, allocations: 7.875 kB / 1.183 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007105/0.7483, allocations: 0.6977 MB / 1.184 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.7508, allocations: 1.636 MB / 1.186 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.7509, allocations: 4.938 kB / 1.186 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.7513, allocations: 100.9 kB / 1.186 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.7513, allocations: 11.8 kB / 1.186 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.7514, allocations: 14.09 kB / 1.186 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.7514, allocations: 11.84 kB / 1.186 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7514, allocations: 3.375 kB / 1.186 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.7524, allocations: 0.8895 MB / 1.187 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.7527, allocations: 208.9 kB / 1.187 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.7528, allocations: 16.41 kB / 1.187 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.7533, allocations: 38.81 kB / 1.187 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.7534, allocations: 45.11 kB / 1.187 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.7534, allocations: 21.77 kB / 1.187 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005291/0.7539, allocations: 0.4967 MB / 1.188 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.623e-06/0.7539, allocations: 0 / 1.188 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006961/0.7546, allocations: 208.8 kB / 1.188 GB, free: 15.37 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001504/0.7562, allocations: 1.527 MB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008034/0.757, allocations: 459.4 kB / 1.19 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.757, allocations: 6.875 kB / 1.19 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.7573, allocations: 212.3 kB / 1.19 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.7597, allocations: 454.6 kB / 1.19 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.766, allocations: 4.976 MB / 1.195 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.7666, allocations: 1.032 MB / 1.196 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007078/0.7673, allocations: 200.7 kB / 1.196 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.7677, allocations: 294 kB / 1.197 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/0.7677, allocations: 0 / 1.197 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6/1.368, allocations: 21.8 MB / 1.218 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.368, allocations: 282.1 kB / 1.218 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.89, allocations: 0 / 1.218 GB, free: 5.594 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)