Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8846/0.8846, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001491/0.001491, allocations: 230.4 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6745/0.6745, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.222e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3554/0.3554, allocations: 165.4 MB / 0.8079 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3654, allocations: 11.97 MB / 0.8196 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.3661, allocations: 47.62 kB / 0.8196 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009541/0.367, allocations: 425.1 kB / 0.82 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.3688, allocations: 1.236 MB / 0.8212 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3699, allocations: 0.7821 MB / 0.822 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3712, allocations: 2.047 MB / 0.824 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.3718, allocations: 0.6137 MB / 0.8246 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.3743, allocations: 2.082 MB / 0.8266 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.3751, allocations: 0.6166 MB / 0.8272 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-05/0.3752, allocations: 84 kB / 0.8273 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008905/0.3761, allocations: 0.7477 MB / 0.828 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.3763, allocations: 422.8 kB / 0.8284 GB, free: 464 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.3766, allocations: 347.2 kB / 0.8288 GB, free: 116 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.3777, allocations: 1.511 MB / 0.8302 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3777, allocations: 4 kB / 0.8302 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3777, allocations: 0 / 0.8302 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.3778, allocations: 0 / 0.8302 GB, free: 14.59 MB / 0.6667 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.001171/0.3789, allocations: 1.178 MB / 0.8314 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.379, allocations: 12.75 kB / 0.8314 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.3791, allocations: 122.5 kB / 0.8315 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.3797, allocations: 227.1 kB / 0.8317 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.3804, allocations: 0.5999 MB / 0.8323 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.3804, allocations: 65.98 kB / 0.8324 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.3805, allocations: 80 kB / 0.8325 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.3814, allocations: 1.058 MB / 0.8335 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3814, allocations: 0 / 0.8335 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.3815, allocations: 39.98 kB / 0.8335 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.3815, allocations: 25.97 kB / 0.8336 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.3822, allocations: 0.6229 MB / 0.8342 GB, free: 10.38 MB / 0.6667 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.002558/0.3848, allocations: 3.727 MB / 0.8378 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.3853, allocations: 455 kB / 0.8382 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3855, allocations: 239.3 kB / 0.8385 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3856, allocations: 27.98 kB / 0.8385 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3856, allocations: 49.59 kB / 0.8385 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.442e-06/0.3856, allocations: 0.6562 kB / 0.8385 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001844/0.3875, allocations: 1.544 MB / 0.8401 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3875, allocations: 110.8 kB / 0.8402 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.3881, allocations: 0.7193 MB / 0.8409 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3881, allocations: 37.95 kB / 0.8409 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3883, allocations: 424.6 kB / 0.8413 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.3884, allocations: 170.5 kB / 0.8415 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3885, allocations: 122.1 kB / 0.8416 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.3886, allocations: 334 kB / 0.8419 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3888, allocations: 181.2 kB / 0.8421 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.3891, allocations: 0.5617 MB / 0.8426 GB, free: 1.328 MB / 0.6667 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.001295/0.3904, allocations: 1.103 MB / 0.8437 GB, free: 144 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3904, allocations: 4 kB / 0.8437 GB, free: 140 kB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006416/0.3911, allocations: 0.6743 MB / 0.8444 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3911, allocations: 8 kB / 0.8444 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3911, allocations: 11.98 kB / 0.8444 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3911, allocations: 11.94 kB / 0.8444 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.3914, allocations: 123.8 kB / 0.8445 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3914, allocations: 17.02 kB / 0.8445 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.3916, allocations: 32.48 kB / 0.8446 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.3917, allocations: 28 kB / 0.8446 GB, free: 15.23 MB / 0.6823 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.0002382/0.3919, allocations: 270.2 kB / 0.8448 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.392, allocations: 83.48 kB / 0.8449 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/0.3921, allocations: 91.66 kB / 0.845 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3921, allocations: 11.94 kB / 0.845 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3921, allocations: 0 / 0.845 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004684/0.3926, allocations: 0.6988 MB / 0.8457 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.3941, allocations: 1.523 MB / 0.8472 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3941, allocations: 4 kB / 0.8472 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3943, allocations: 96.39 kB / 0.8473 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3943, allocations: 11.94 kB / 0.8473 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3944, allocations: 13.12 kB / 0.8473 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.3944, allocations: 19.86 kB / 0.8473 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3944, allocations: 4 kB / 0.8473 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.3951, allocations: 0.8599 MB / 0.8482 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3953, allocations: 131.4 kB / 0.8483 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.3953, allocations: 19.98 kB / 0.8483 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3955, allocations: 16.59 kB / 0.8483 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3956, allocations: 47.88 kB / 0.8484 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3956, allocations: 20.69 kB / 0.8484 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004064/0.396, allocations: 0.5107 MB / 0.8489 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.396, allocations: 0 / 0.8489 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004648/0.3965, allocations: 199.9 kB / 0.8491 GB, free: 10.38 MB / 0.6823 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.001164/0.3976, allocations: 1.489 MB / 0.8505 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.3981, allocations: 465.5 kB / 0.851 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3981, allocations: 4 kB / 0.851 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.3983, allocations: 208.5 kB / 0.8512 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3995, allocations: 470.9 kB / 0.8516 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.4051, allocations: 6.558 MB / 0.858 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.4054, allocations: 440.9 kB / 0.8585 GB, free: 348 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.4058, allocations: 200 kB / 0.8587 GB, free: 144 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.4061, allocations: 296.4 kB / 0.8589 GB, free: 15.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/0.4061, allocations: 0 / 0.8589 GB, free: 15.85 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.4411, allocations: 24.65 MB / 0.883 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.877, allocations: 0 / 0.883 GB, free: 7.887 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.533455891534686] Failed to read output from testmodel.py, exit status != 0: 7.968527759425342 7.979287916 7.599464168 Calling exit ...