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.001501/0.001501, allocations: 106 kB / 16.4 MB, free: 6.496 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.001607/0.001607, allocations: 196 kB / 17.34 MB, free: 5.73 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.317/1.317, 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.7478/0.7478, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 68.44 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1831, allocations: 77.93 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5744/0.7576, allocations: 187.3 MB / 0.827 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.7726, allocations: 13.08 MB / 0.8397 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.7742, allocations: 31.62 kB / 0.8398 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.7755, allocations: 437.3 kB / 0.8402 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.7789, allocations: 1.206 MB / 0.8413 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.7807, allocations: 0.7133 MB / 0.842 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.7831, allocations: 2.018 MB / 0.844 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.7841, allocations: 0.8436 MB / 0.8448 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.788, allocations: 1.871 MB / 0.8467 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.7895, allocations: 0.6708 MB / 0.8473 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.7896, allocations: 80.75 kB / 0.8474 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.7914, allocations: 0.8749 MB / 0.8483 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.7918, allocations: 383 kB / 0.8486 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.7923, allocations: 0.4964 MB / 0.8491 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.7944, allocations: 1.506 MB / 0.8506 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7944, allocations: 0 / 0.8506 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7944, allocations: 0 / 0.8506 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7945, allocations: 4 kB / 0.8506 GB, free: 6.988 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001709/0.7962, allocations: 1.26 MB / 0.8518 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7962, allocations: 7.844 kB / 0.8518 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.7964, allocations: 122.6 kB / 0.8519 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.7975, allocations: 222.7 kB / 0.8521 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7986, allocations: 0.6896 MB / 0.8528 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.7987, allocations: 62.44 kB / 0.8529 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7988, allocations: 74.31 kB / 0.8529 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.8, allocations: 0.9312 MB / 0.8539 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.8, allocations: 1.812 kB / 0.8539 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.8001, allocations: 46.42 kB / 0.8539 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.8002, allocations: 26 kB / 0.8539 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.8011, allocations: 0.6186 MB / 0.8545 GB, free: 4.18 MB / 0.6075 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.004029/0.8051, allocations: 4.592 MB / 0.859 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.8059, allocations: 0.5384 MB / 0.8595 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.8062, allocations: 248.1 kB / 0.8598 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.8064, allocations: 105.1 kB / 0.8599 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.8064, allocations: 42.55 kB / 0.8599 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.8064, allocations: 0 / 0.8599 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002617/0.809, allocations: 1.625 MB / 0.8615 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.8091, allocations: 106.8 kB / 0.8616 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.8099, allocations: 0.7155 MB / 0.8623 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.81, allocations: 37.7 kB / 0.8623 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.8103, allocations: 416.6 kB / 0.8627 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.8104, allocations: 170.5 kB / 0.8629 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.8106, allocations: 122.3 kB / 0.863 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8107, allocations: 338 kB / 0.8633 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.811, allocations: 185.2 kB / 0.8635 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.8114, allocations: 417 kB / 0.8639 GB, free: 10.1 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.002096/0.8135, allocations: 1.183 MB / 0.8651 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8135, allocations: 0 / 0.8651 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009428/0.8145, allocations: 0.6813 MB / 0.8657 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8145, allocations: 11.94 kB / 0.8657 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8145, allocations: 8 kB / 0.8658 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.8146, allocations: 8 kB / 0.8658 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.815, allocations: 127.8 kB / 0.8659 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.815, allocations: 15.92 kB / 0.8659 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.8156, allocations: 23.98 kB / 0.8659 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.8157, allocations: 32 kB / 0.866 GB, free: 7.902 MB / 0.6231 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.000352/0.816, allocations: 277.6 kB / 0.8662 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.8162, allocations: 87.42 kB / 0.8663 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.8163, allocations: 87.81 kB / 0.8664 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.8163, allocations: 11.98 kB / 0.8664 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8164, allocations: 4 kB / 0.8664 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006643/0.817, allocations: 0.7041 MB / 0.8671 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.8193, allocations: 1.638 MB / 0.8687 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8194, allocations: 4 kB / 0.8687 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.8198, allocations: 99.83 kB / 0.8688 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.8198, allocations: 11.94 kB / 0.8688 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.8199, allocations: 16 kB / 0.8688 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.8199, allocations: 8.484 kB / 0.8688 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.8199, allocations: 8 kB / 0.8688 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8209, allocations: 0.8652 MB / 0.8697 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.8213, allocations: 216.5 kB / 0.8699 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.8214, allocations: 8 kB / 0.8699 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.8219, allocations: 25.5 kB / 0.8699 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.8219, allocations: 39.83 kB / 0.8699 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.822, allocations: 20 kB / 0.87 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006029/0.8226, allocations: 0.5107 MB / 0.8705 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8226, allocations: 0 / 0.8705 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007227/0.8233, allocations: 200 kB / 0.8707 GB, free: 2.801 MB / 0.6231 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.001635/0.825, allocations: 1.5 MB / 0.8721 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.8257, allocations: 487.5 kB / 0.8726 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8257, allocations: 1.562 kB / 0.8726 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.826, allocations: 212.7 kB / 0.8728 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.828, allocations: 483.6 kB / 0.8733 GB, free: 104 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/0.8365, allocations: 6.659 MB / 0.8798 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.8371, allocations: 1.024 MB / 0.8808 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006279/0.8378, allocations: 195 kB / 0.8809 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.8382, allocations: 295.3 kB / 0.8812 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.8382, allocations: 0 / 0.8812 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.8868, allocations: 22.23 MB / 0.9029 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.092/9.979, allocations: 14.73 kB / 0.9029 GB, free: 1.645 MB / 0.6544 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)