Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0008828/0.0008828, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009802/0.0009802, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001423/0.001423, allocations: 241.6 kB / 259.4 MB, free: 13 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.6581/0.6581, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6463 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.612e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.3564/0.3564, allocations: 168.2 MB / 0.8106 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00592/0.3623, allocations: 5.417 MB / 0.8159 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.3627, allocations: 59.5 kB / 0.816 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.3636, allocations: 0.5434 MB / 0.8165 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.366, allocations: 1.721 MB / 0.8182 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3675, allocations: 1.273 MB / 0.8194 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.3691, allocations: 2.633 MB / 0.822 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.3697, allocations: 0.7538 MB / 0.8227 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.3711, allocations: 1.406 MB / 0.8241 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008974/0.372, allocations: 0.8089 MB / 0.8249 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.3721, allocations: 108 kB / 0.825 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3732, allocations: 1.313 MB / 0.8263 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.3735, allocations: 0.5376 MB / 0.8268 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.3738, allocations: 467 kB / 0.8272 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3753, allocations: 2.228 MB / 0.8294 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3753, allocations: 8 kB / 0.8294 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.148e-06/0.3753, allocations: 0 / 0.8294 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3753, allocations: 0 / 0.8294 GB, free: 15.31 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001425/0.3767, allocations: 1.462 MB / 0.8308 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3768, allocations: 13.94 kB / 0.8309 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.3769, allocations: 143.2 kB / 0.831 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.3784, allocations: 478.8 kB / 0.8315 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3794, allocations: 0.7883 MB / 0.8322 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.3794, allocations: 66 kB / 0.8323 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.3795, allocations: 95.83 kB / 0.8324 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3809, allocations: 1.544 MB / 0.8339 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.381, allocations: 0 / 0.8339 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.381, allocations: 43.94 kB / 0.8339 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.3811, allocations: 35.36 kB / 0.834 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.3825, allocations: 1.066 MB / 0.835 GB, free: 9.406 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.003642/0.3861, allocations: 3.306 MB / 0.8382 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3872, allocations: 0.7222 MB / 0.8389 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.3876, allocations: 393.2 kB / 0.8393 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.171e-05/0.3877, allocations: 23.98 kB / 0.8393 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3878, allocations: 39.28 kB / 0.8394 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.453e-06/0.3878, allocations: 0 / 0.8394 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.003006/0.3908, allocations: 2.119 MB / 0.8414 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.3908, allocations: 55.41 kB / 0.8415 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.3914, allocations: 0.8763 MB / 0.8423 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3915, allocations: 37.7 kB / 0.8424 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.3917, allocations: 0.4962 MB / 0.8429 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.3918, allocations: 166.5 kB / 0.843 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.392, allocations: 126.3 kB / 0.8431 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.392, allocations: 326 kB / 0.8435 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.3925, allocations: 373 kB / 0.8438 GB, free: 212 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.3931, allocations: 0.5477 MB / 0.8444 GB, free: 15.59 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.3962, allocations: 2.192 MB / 0.8465 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3962, allocations: 0 / 0.8465 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001207/0.3974, allocations: 0.9849 MB / 0.8475 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3974, allocations: 12.12 kB / 0.8475 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3974, allocations: 4 kB / 0.8475 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3974, allocations: 8 kB / 0.8475 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.3979, allocations: 191.7 kB / 0.8477 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3979, allocations: 11.52 kB / 0.8477 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3983, allocations: 75.8 kB / 0.8477 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3983, allocations: 27.98 kB / 0.8478 GB, free: 12.04 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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.0002715/0.3986, allocations: 309.5 kB / 0.8481 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.3987, allocations: 99.39 kB / 0.8482 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.3988, allocations: 104.8 kB / 0.8483 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3988, allocations: 8 kB / 0.8483 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3988, allocations: 0 / 0.8483 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.3999, allocations: 1.034 MB / 0.8493 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.4023, allocations: 1.972 MB / 0.8512 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4023, allocations: 6.625 kB / 0.8512 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.4027, allocations: 160.2 kB / 0.8514 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4027, allocations: 5.125 kB / 0.8514 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.4027, allocations: 19.98 kB / 0.8514 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4027, allocations: 4 kB / 0.8514 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4027, allocations: 7.938 kB / 0.8514 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4044, allocations: 1.412 MB / 0.8528 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.4046, allocations: 179.4 kB / 0.8529 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.4047, allocations: 11.98 kB / 0.853 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.4051, allocations: 69.98 kB / 0.853 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4052, allocations: 39.81 kB / 0.8531 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.4052, allocations: 36.72 kB / 0.8531 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004745/0.4057, allocations: 0.5966 MB / 0.8537 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.4057, allocations: 8 kB / 0.8537 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004885/0.4062, allocations: 267.9 kB / 0.8539 GB, free: 5.488 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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.00197/0.4081, allocations: 2.052 MB / 0.8559 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4092, allocations: 0.7995 MB / 0.8567 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4092, allocations: 128 / 0.8567 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.4097, allocations: 380.3 kB / 0.8571 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.411, allocations: 0.5909 MB / 0.8577 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0087/0.4197, allocations: 8.152 MB / 0.8656 GB, free: 9.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4201, allocations: 0.5124 MB / 0.8661 GB, free: 8.652 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000528/0.4206, allocations: 263.8 kB / 0.8664 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.4209, allocations: 356.4 kB / 0.8667 GB, free: 8.043 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.4209, allocations: 0 / 0.8667 GB, free: 8.043 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.459, allocations: 31.87 MB / 0.8978 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.721, allocations: 5.156 kB / 0.8979 GB, free: 8.953 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.286664021201432] Failed to read output from testmodel.py, exit status != 0: 7.820653471164405 7.831467869 7.454142988 Calling exit ...