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.001673/0.001673, allocations: 108.1 kB / 16.41 MB, free: 6.445 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.001843/0.001844, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 72.64 kB / 0.5736 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1317, allocations: 78.87 MB / 0.6506 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4906/0.6224, allocations: 187.3 MB / 0.8335 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.6381, allocations: 13.06 MB / 0.8463 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.6394, allocations: 31.34 kB / 0.8463 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.6407, allocations: 428.1 kB / 0.8467 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.6438, allocations: 1.157 MB / 0.8478 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.6455, allocations: 0.7024 MB / 0.8485 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.6478, allocations: 2.012 MB / 0.8505 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6488, allocations: 0.8371 MB / 0.8513 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.6528, allocations: 1.942 MB / 0.8532 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6542, allocations: 0.6537 MB / 0.8538 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.6544, allocations: 80.38 kB / 0.8539 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.656, allocations: 0.8652 MB / 0.8548 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.6563, allocations: 387.2 kB / 0.8551 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.6569, allocations: 0.4987 MB / 0.8556 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.6588, allocations: 1.508 MB / 0.8571 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6588, allocations: 0 / 0.8571 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6588, allocations: 3.938 kB / 0.8571 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6589, allocations: 0 / 0.8571 GB, free: 15.36 MB / 0.6231 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.001807/0.6607, allocations: 1.272 MB / 0.8583 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6607, allocations: 10.06 kB / 0.8583 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.6609, allocations: 119.7 kB / 0.8585 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.662, allocations: 219.3 kB / 0.8587 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6631, allocations: 0.6838 MB / 0.8593 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.6631, allocations: 58 kB / 0.8594 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6633, allocations: 79.95 kB / 0.8595 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.6647, allocations: 0.9326 MB / 0.8604 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6647, allocations: 7.938 kB / 0.8604 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.6648, allocations: 35.98 kB / 0.8604 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.6648, allocations: 29.31 kB / 0.8604 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.6658, allocations: 0.6177 MB / 0.861 GB, free: 11.53 MB / 0.6231 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.004417/0.6702, allocations: 4.658 MB / 0.8656 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/0.6711, allocations: 0.5403 MB / 0.8661 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.6715, allocations: 246 kB / 0.8664 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.6717, allocations: 109.1 kB / 0.8665 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.6717, allocations: 42.5 kB / 0.8665 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.6717, allocations: 0 / 0.8665 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002758/0.6745, allocations: 1.613 MB / 0.8681 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.6746, allocations: 106.8 kB / 0.8682 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.6755, allocations: 0.7155 MB / 0.8689 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.6755, allocations: 41.64 kB / 0.8689 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.6759, allocations: 428.8 kB / 0.8693 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.676, allocations: 174.5 kB / 0.8695 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.6762, allocations: 118.3 kB / 0.8696 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6764, allocations: 330 kB / 0.8699 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.6767, allocations: 189.2 kB / 0.8701 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.6772, allocations: 413 kB / 0.8705 GB, free: 1.246 MB / 0.6231 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.002309/0.6795, allocations: 1.18 MB / 0.8717 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6795, allocations: 0 / 0.8717 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00104/0.6806, allocations: 0.6796 MB / 0.8723 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6806, allocations: 8 kB / 0.8723 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6806, allocations: 8 kB / 0.8723 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6806, allocations: 8 kB / 0.8723 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.6811, allocations: 135.8 kB / 0.8725 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.6811, allocations: 8 kB / 0.8725 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.6816, allocations: 28.48 kB / 0.8725 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.6817, allocations: 29 kB / 0.8725 GB, free: 15.05 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.6821, allocations: 277.5 kB / 0.8728 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6822, allocations: 91.38 kB / 0.8729 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.6824, allocations: 91.66 kB / 0.873 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6824, allocations: 8 kB / 0.873 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6824, allocations: 0 / 0.873 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007666/0.6832, allocations: 0.6999 MB / 0.8737 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.6856, allocations: 1.642 MB / 0.8753 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6856, allocations: 4.875 kB / 0.8753 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.6861, allocations: 100.3 kB / 0.8754 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6861, allocations: 12 kB / 0.8754 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.6861, allocations: 12 kB / 0.8754 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.6861, allocations: 7.984 kB / 0.8754 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6861, allocations: 7.938 kB / 0.8754 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6873, allocations: 0.8732 MB / 0.8763 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.6876, allocations: 212.5 kB / 0.8765 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6877, allocations: 20 kB / 0.8765 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.6881, allocations: 19.92 kB / 0.8765 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.6882, allocations: 39.84 kB / 0.8765 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.6883, allocations: 23.98 kB / 0.8766 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006968/0.689, allocations: 0.5068 MB / 0.8771 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.689, allocations: 0 / 0.8771 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006867/0.6897, allocations: 200 kB / 0.8772 GB, free: 9.945 MB / 0.6387 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 (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.001741/0.6914, allocations: 1.51 MB / 0.8787 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008011/0.6922, allocations: 476.4 kB / 0.8792 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6922, allocations: 448 / 0.8792 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.6926, allocations: 215.6 kB / 0.8794 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6946, allocations: 483.6 kB / 0.8798 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/0.7032, allocations: 6.639 MB / 0.8863 GB, free: 212 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.704, allocations: 1.024 MB / 0.8873 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006716/0.7046, allocations: 203 kB / 0.8875 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.7051, allocations: 299.3 kB / 0.8878 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.7051, allocations: 3.938 kB / 0.8878 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.7558, allocations: 22.23 MB / 0.9095 GB, free: 8.793 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.293/10.05, allocations: 7.422 kB / 0.9095 GB, free: 8.789 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)