Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0007649/0.0007649, 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.0008082/0.0008082, allocations: 169.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.862/0.862, 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.001377/0.001377, allocations: 237.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.6702/0.6702, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.922e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3776/0.3776, allocations: 168.1 MB / 0.8105 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.3838, allocations: 5.394 MB / 0.8157 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.3844, allocations: 55.56 kB / 0.8158 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.3854, allocations: 0.5473 MB / 0.8163 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3879, allocations: 1.718 MB / 0.818 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3898, allocations: 1.257 MB / 0.8192 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.3917, allocations: 2.586 MB / 0.8217 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.3923, allocations: 0.7154 MB / 0.8224 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3935, allocations: 1.383 MB / 0.8238 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009402/0.3944, allocations: 0.7778 MB / 0.8245 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.3945, allocations: 100.7 kB / 0.8246 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.3959, allocations: 1.278 MB / 0.8259 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.3962, allocations: 0.5181 MB / 0.8264 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.3965, allocations: 455 kB / 0.8268 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.3981, allocations: 2.15 MB / 0.8289 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3981, allocations: 0 / 0.8289 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3981, allocations: 7.781 kB / 0.8289 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3981, allocations: 0 / 0.8289 GB, free: 15.94 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00147/0.3996, allocations: 1.415 MB / 0.8303 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3996, allocations: 17.94 kB / 0.8303 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.3997, allocations: 139.2 kB / 0.8305 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.4007, allocations: 336.3 kB / 0.8308 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.4015, allocations: 0.7479 MB / 0.8315 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4016, allocations: 66 kB / 0.8316 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.4018, allocations: 83.98 kB / 0.8317 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4029, allocations: 1.472 MB / 0.8331 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.403, allocations: 0 / 0.8331 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.403, allocations: 43.92 kB / 0.8331 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.403, allocations: 34 kB / 0.8332 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.404, allocations: 0.8274 MB / 0.834 GB, free: 10.56 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.003208/0.4072, allocations: 3.262 MB / 0.8372 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.4076, allocations: 355.5 kB / 0.8375 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.4078, allocations: 206.2 kB / 0.8377 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.4079, allocations: 19.98 kB / 0.8377 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4079, allocations: 42.42 kB / 0.8378 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 1.462e-06/0.4079, allocations: 4 kB / 0.8378 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001574/0.4095, allocations: 1.274 MB / 0.839 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.4095, allocations: 59.34 kB / 0.8391 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.4104, allocations: 1.012 MB / 0.8401 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4104, allocations: 37.7 kB / 0.8401 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.4107, allocations: 0.4924 MB / 0.8406 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.4107, allocations: 146.8 kB / 0.8407 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4109, allocations: 122.2 kB / 0.8408 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.4109, allocations: 326 kB / 0.8411 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.4112, allocations: 237.2 kB / 0.8414 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.4116, allocations: 475.2 kB / 0.8418 GB, free: 2.242 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4132, allocations: 1.148 MB / 0.8429 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4133, allocations: 4 kB / 0.8429 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008013/0.4141, allocations: 0.7697 MB / 0.8437 GB, free: 248 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4141, allocations: 10.34 kB / 0.8437 GB, free: 240 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4141, allocations: 7.516 kB / 0.8437 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4141, allocations: 12 kB / 0.8437 GB, free: 224 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.4144, allocations: 144.1 kB / 0.8439 GB, free: 80 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4144, allocations: 15.88 kB / 0.8439 GB, free: 64 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.4148, allocations: 51.95 kB / 0.8439 GB, free: 12 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.4148, allocations: 35.98 kB / 0.844 GB, free: 15.98 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: 25 * 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 (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.0002643/0.4151, allocations: 312.8 kB / 0.8443 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.4152, allocations: 103.3 kB / 0.8444 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.4153, allocations: 105 kB / 0.8445 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4153, allocations: 4 kB / 0.8445 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4153, allocations: 9.062 kB / 0.8445 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004287/0.4157, allocations: 0.6713 MB / 0.8451 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4171, allocations: 1.433 MB / 0.8465 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4171, allocations: 4 kB / 0.8465 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4173, allocations: 88.39 kB / 0.8466 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4173, allocations: 8 kB / 0.8466 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4173, allocations: 12 kB / 0.8466 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4173, allocations: 8.75 kB / 0.8466 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4173, allocations: 7.938 kB / 0.8467 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.418, allocations: 0.8279 MB / 0.8475 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.4182, allocations: 163.3 kB / 0.8476 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.4183, allocations: 15.98 kB / 0.8476 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.4186, allocations: 43.09 kB / 0.8477 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4186, allocations: 35.83 kB / 0.8477 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.4187, allocations: 27.98 kB / 0.8477 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006149/0.4193, allocations: 0.7116 MB / 0.8484 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.4193, allocations: 0 / 0.8484 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004738/0.4198, allocations: 259.9 kB / 0.8487 GB, free: 10.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001252/0.421, allocations: 1.469 MB / 0.8501 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.4216, allocations: 488.4 kB / 0.8506 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4216, allocations: 0 / 0.8506 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4217, allocations: 184.2 kB / 0.8508 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.4231, allocations: 0.617 MB / 0.8514 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.4302, allocations: 7.559 MB / 0.8587 GB, free: 188 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4305, allocations: 0.5078 MB / 0.8592 GB, free: 15.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005097/0.431, allocations: 256.3 kB / 0.8595 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.4314, allocations: 344.4 kB / 0.8598 GB, free: 15.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.4314, allocations: 0 / 0.8598 GB, free: 15.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.4696, allocations: 30.88 MB / 0.89 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.609, allocations: 22.28 kB / 0.89 GB, free: 0.8867 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.165602476336062] Failed to read output from testmodel.py, exit status != 0: 7.704599976539612 7.713283035 7.313401148 Calling exit ...