Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.000718/0.0007181, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007561/0.0007561, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.208/1.208, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5988/0.5988, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 8.719 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3924/0.5136, allocations: 170.3 MB / 0.7232 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.526, allocations: 12.13 MB / 0.7351 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.5268, allocations: 27.81 kB / 0.7351 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.5276, allocations: 294.1 kB / 0.7354 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.5295, allocations: 0.8824 MB / 0.7362 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.5308, allocations: 0.5304 MB / 0.7368 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.5328, allocations: 2.347 MB / 0.7391 GB, free: 272 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.5335, allocations: 0.6095 MB / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.536, allocations: 1.354 MB / 0.741 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007483/0.5367, allocations: 0.6303 MB / 0.7416 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.5368, allocations: 32 kB / 0.7416 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009844/0.5378, allocations: 455 kB / 0.742 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.5381, allocations: 331 kB / 0.7424 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.5383, allocations: 205.2 kB / 0.7426 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.5392, allocations: 1.029 MB / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5392, allocations: 3.938 kB / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5392, allocations: 0 / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.5392, allocations: 3.938 kB / 0.7436 GB, free: 11.61 MB / 0.5606 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.001307/0.5405, allocations: 1.061 MB / 0.7446 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5406, allocations: 12.03 kB / 0.7446 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5407, allocations: 126.5 kB / 0.7447 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009859/0.5417, allocations: 211.5 kB / 0.7449 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.5425, allocations: 0.6174 MB / 0.7455 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.5425, allocations: 54 kB / 0.7456 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.5426, allocations: 83.89 kB / 0.7457 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5438, allocations: 0.9287 MB / 0.7466 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.5438, allocations: 8 kB / 0.7466 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.5438, allocations: 28 kB / 0.7466 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.5439, allocations: 29.31 kB / 0.7466 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.5447, allocations: 0.6177 MB / 0.7472 GB, free: 7.652 MB / 0.5606 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.003358/0.5481, allocations: 4.59 MB / 0.7517 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.5487, allocations: 0.5394 MB / 0.7523 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.549, allocations: 241 kB / 0.7525 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.5492, allocations: 101.8 kB / 0.7526 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5492, allocations: 50.44 kB / 0.7526 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.5492, allocations: 7.938 kB / 0.7526 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.002247/0.5515, allocations: 1.587 MB / 0.7542 GB, free: 124 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5516, allocations: 106.8 kB / 0.7543 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.5522, allocations: 0.7116 MB / 0.755 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5523, allocations: 37.95 kB / 0.755 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.5525, allocations: 411.9 kB / 0.7554 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5527, allocations: 161.6 kB / 0.7556 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.5527, allocations: 16 kB / 0.7556 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.5528, allocations: 326 kB / 0.7559 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.553, allocations: 189.2 kB / 0.7561 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.5534, allocations: 413 kB / 0.7565 GB, free: 13.64 MB / 0.5762 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.001356/0.5548, allocations: 0.6766 MB / 0.7571 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5548, allocations: 8 kB / 0.7571 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008341/0.5556, allocations: 0.6605 MB / 0.7578 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5557, allocations: 13.83 kB / 0.7578 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5557, allocations: 8 kB / 0.7578 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5557, allocations: 8 kB / 0.7578 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.5561, allocations: 131.8 kB / 0.7579 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5561, allocations: 11.98 kB / 0.7579 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.5566, allocations: 64.62 kB / 0.758 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.5567, allocations: 28 kB / 0.758 GB, free: 12.01 MB / 0.5762 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.0002828/0.5569, allocations: 273.5 kB / 0.7583 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5571, allocations: 79.06 kB / 0.7584 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5572, allocations: 91.62 kB / 0.7585 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.5572, allocations: 15.92 kB / 0.7585 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5573, allocations: 4 kB / 0.7585 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000582/0.5578, allocations: 0.6882 MB / 0.7592 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.5598, allocations: 1.646 MB / 0.7608 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5598, allocations: 4 kB / 0.7608 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.5602, allocations: 99.83 kB / 0.7609 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.5602, allocations: 8 kB / 0.7609 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.5603, allocations: 16 kB / 0.7609 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.5603, allocations: 4 kB / 0.7609 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.5603, allocations: 23.81 kB / 0.7609 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.5612, allocations: 0.8535 MB / 0.7617 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.5614, allocations: 200.2 kB / 0.7619 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.5615, allocations: 19.98 kB / 0.762 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.5619, allocations: 44.31 kB / 0.762 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.562, allocations: 39.86 kB / 0.762 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.562, allocations: 24.17 kB / 0.7621 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000501/0.5625, allocations: 0.499 MB / 0.7625 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5625, allocations: 0 / 0.7625 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006036/0.5631, allocations: 200 kB / 0.7627 GB, free: 6.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.00139/0.5645, allocations: 1.51 MB / 0.7642 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006436/0.5652, allocations: 454.6 kB / 0.7646 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5652, allocations: 384 / 0.7646 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.5655, allocations: 215.7 kB / 0.7648 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.5673, allocations: 454.4 kB / 0.7653 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.5735, allocations: 5.009 MB / 0.7702 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.5741, allocations: 1.032 MB / 0.7712 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006286/0.5747, allocations: 203 kB / 0.7714 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.5751, allocations: 299.3 kB / 0.7717 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5751, allocations: 0 / 0.7717 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.6123, allocations: 21.59 MB / 0.7927 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.6125, allocations: 253.7 kB / 0.793 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.473, allocations: 1.5 kB / 0.793 GB, free: 7.945 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: