Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001269/0.001268, allocations: 102.6 kB / 16.4 MB, free: 5.969 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.00119/0.00119, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7748/0.7748, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 71.41 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.142, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4882/0.6303, allocations: 187.1 MB / 0.8333 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.6452, allocations: 13.01 MB / 0.846 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.6461, allocations: 31.94 kB / 0.8461 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6473, allocations: 414.2 kB / 0.8465 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.6493, allocations: 0.911 MB / 0.8474 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.6509, allocations: 0.7125 MB / 0.8481 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.6525, allocations: 1.504 MB / 0.8495 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.6533, allocations: 0.6469 MB / 0.8502 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.6567, allocations: 1.812 MB / 0.8519 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.6578, allocations: 0.501 MB / 0.8524 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.6579, allocations: 52.88 kB / 0.8525 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6592, allocations: 0.8754 MB / 0.8533 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.6594, allocations: 273.1 kB / 0.8536 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.6598, allocations: 382 kB / 0.8539 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.6612, allocations: 1.182 MB / 0.8551 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6612, allocations: 0 / 0.8551 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6612, allocations: 0 / 0.8551 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.6612, allocations: 2.406 kB / 0.8551 GB, free: 0.6992 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001363/0.6626, allocations: 1.086 MB / 0.8562 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6626, allocations: 11.44 kB / 0.8562 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.6627, allocations: 101.1 kB / 0.8563 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.6636, allocations: 188.1 kB / 0.8564 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.6644, allocations: 0.5619 MB / 0.857 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.6644, allocations: 48.12 kB / 0.857 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.6645, allocations: 60.09 kB / 0.8571 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6656, allocations: 0.7683 MB / 0.8579 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6656, allocations: 6.562 kB / 0.8579 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.6657, allocations: 31.45 kB / 0.8579 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.6657, allocations: 21.12 kB / 0.8579 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.6665, allocations: 460.4 kB / 0.8583 GB, free: 14.23 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.003862/0.6704, allocations: 4.459 MB / 0.8627 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.6706, allocations: 106.4 kB / 0.8628 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.6707, allocations: 67.5 kB / 0.8629 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.6708, allocations: 101.1 kB / 0.863 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.6709, allocations: 38.5 kB / 0.863 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.6709, allocations: 0 / 0.863 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006155/0.6715, allocations: 241.2 kB / 0.8632 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.6716, allocations: 144.5 kB / 0.8634 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.6727, allocations: 0.8408 MB / 0.8642 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.6727, allocations: 25.7 kB / 0.8642 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.6731, allocations: 411.7 kB / 0.8646 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.6731, allocations: 47.67 kB / 0.8647 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.6733, allocations: 89.97 kB / 0.8647 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6734, allocations: 325.9 kB / 0.865 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.6737, allocations: 104.7 kB / 0.8651 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.6742, allocations: 377.5 kB / 0.8655 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.6748, allocations: 433.5 kB / 0.8659 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6748, allocations: 4 kB / 0.8659 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009156/0.6757, allocations: 0.4999 MB / 0.8664 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6757, allocations: 12.09 kB / 0.8664 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6757, allocations: 12 kB / 0.8664 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6758, allocations: 8.094 kB / 0.8664 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.6761, allocations: 99.81 kB / 0.8665 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.6761, allocations: 19.88 kB / 0.8666 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.6767, allocations: 115.3 kB / 0.8667 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6768, allocations: 24 kB / 0.8667 GB, free: 5.059 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002646/0.677, allocations: 225.6 kB / 0.8669 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.6772, allocations: 79.48 kB / 0.867 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.6773, allocations: 74.17 kB / 0.8671 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6773, allocations: 0 / 0.8671 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6773, allocations: 11.88 kB / 0.8671 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6773, allocations: 7.984 kB / 0.8671 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.6787, allocations: 1.113 MB / 0.8682 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6787, allocations: 4 kB / 0.8682 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.6787, allocations: 19.94 kB / 0.8682 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6788, allocations: 4 kB / 0.8682 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.6788, allocations: 5 kB / 0.8682 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6788, allocations: 4 kB / 0.8682 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.6788, allocations: 11.92 kB / 0.8682 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.6791, allocations: 264.5 kB / 0.8685 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.6793, allocations: 176.5 kB / 0.8686 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.6794, allocations: 4 kB / 0.8686 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.6797, allocations: 19.97 kB / 0.8686 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.6798, allocations: 15.94 kB / 0.8687 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.6798, allocations: 4.875 kB / 0.8687 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000807/0.6806, allocations: 0.5926 MB / 0.8692 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6806, allocations: 0 / 0.8692 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005272/0.6811, allocations: 151.8 kB / 0.8694 GB, free: 2.133 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0009257/0.6821, allocations: 0.9019 MB / 0.8703 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.6826, allocations: 245.3 kB / 0.8705 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6826, allocations: 0 / 0.8705 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.6827, allocations: 56.16 kB / 0.8706 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.6842, allocations: 380.4 kB / 0.8709 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.6912, allocations: 5.462 MB / 0.8763 GB, free: 10.73 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.6918, allocations: 0.9369 MB / 0.8772 GB, free: 9.766 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0004201/0.6922, allocations: 146.1 kB / 0.8773 GB, free: 9.621 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6925, allocations: 231.4 kB / 0.8775 GB, free: 9.395 MB / 0.6388 GB Notification: Performance of SimCode: time 2.7e-07/0.6925, allocations: 3.938 kB / 0.8775 GB, free: 9.391 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.735, allocations: 17.97 MB / 0.8951 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.568, allocations: 7.922 kB / 0.8951 GB, free: 7.742 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)