Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007334/0.0007335, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 173.4 kB / 16.58 MB, free: 5.656 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.353/1.353, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7038/0.7038, allocations: 115.5 MB / 407.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 8.906 kB / 495.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 77.53 MB / 0.5593 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4191/0.5527, allocations: 173.1 MB / 0.7284 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008413/0.5611, allocations: 5.367 MB / 0.7336 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.5621, allocations: 35.75 kB / 0.7337 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.5633, allocations: 393.5 kB / 0.734 GB, free: 4.297 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003237/0.5665, allocations: 1.202 MB / 0.7352 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.5693, allocations: 0.8963 MB / 0.7361 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.5728, allocations: 2.944 MB / 0.739 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.5738, allocations: 0.6905 MB / 0.7396 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.5754, allocations: 0.8517 MB / 0.7405 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.5766, allocations: 0.7706 MB / 0.7412 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.5767, allocations: 40 kB / 0.7413 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.5789, allocations: 0.9003 MB / 0.7421 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.5794, allocations: 430.8 kB / 0.7425 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.5797, allocations: 249.1 kB / 0.7428 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.5814, allocations: 1.477 MB / 0.7442 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5814, allocations: 4 kB / 0.7442 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5814, allocations: 8 kB / 0.7442 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.5814, allocations: 0 / 0.7442 GB, free: 9.824 MB / 0.5606 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.002014/0.5835, allocations: 1.251 MB / 0.7455 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5835, allocations: 12.03 kB / 0.7455 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.5855, allocations: 346.2 kB / 0.7458 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5866, allocations: 0.7497 MB / 0.7465 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.587, allocations: 137.9 kB / 0.7467 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5871, allocations: 84 kB / 0.7467 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.589, allocations: 1.066 MB / 0.7478 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.589, allocations: 3.984 kB / 0.7478 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.5891, allocations: 40 kB / 0.7478 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.5892, allocations: 37.98 kB / 0.7479 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.5908, allocations: 0.8392 MB / 0.7487 GB, free: 5.145 MB / 0.5606 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.00547/0.5963, allocations: 4.062 MB / 0.7527 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.5969, allocations: 362.7 kB / 0.753 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.5972, allocations: 211.8 kB / 0.7532 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.5974, allocations: 105 kB / 0.7533 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5974, allocations: 42.52 kB / 0.7533 GB, free: 80 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.5974, allocations: 0 / 0.7533 GB, free: 80 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.002565/0.6, allocations: 1.329 MB / 0.7546 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6001, allocations: 59.34 kB / 0.7547 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.6014, allocations: 0.992 MB / 0.7557 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.6015, allocations: 37.7 kB / 0.7557 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6019, allocations: 495.3 kB / 0.7562 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.602, allocations: 142 kB / 0.7563 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.6021, allocations: 8 kB / 0.7563 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6022, allocations: 330 kB / 0.7566 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.6027, allocations: 241.2 kB / 0.7569 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.6033, allocations: 405.2 kB / 0.7572 GB, free: 11.9 MB / 0.5762 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.00187/0.6051, allocations: 0.7432 MB / 0.758 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6052, allocations: 0 / 0.758 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001379/0.6065, allocations: 0.7536 MB / 0.7587 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6066, allocations: 8 kB / 0.7587 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6066, allocations: 4 kB / 0.7587 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6066, allocations: 8 kB / 0.7587 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.6072, allocations: 148 kB / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.6072, allocations: 8 kB / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.6081, allocations: 103.8 kB / 0.759 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.6082, allocations: 24 kB / 0.759 GB, free: 10.08 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004348/0.6086, allocations: 305.4 kB / 0.7593 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6088, allocations: 102.8 kB / 0.7594 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.609, allocations: 113 kB / 0.7595 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.609, allocations: 4 kB / 0.7595 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.609, allocations: 0 / 0.7595 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006801/0.6097, allocations: 0.6674 MB / 0.7601 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.612, allocations: 1.592 MB / 0.7617 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.612, allocations: 4 kB / 0.7617 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.6124, allocations: 87.89 kB / 0.7618 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.6125, allocations: 8 kB / 0.7618 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.6125, allocations: 12 kB / 0.7618 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.6125, allocations: 11.94 kB / 0.7618 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6125, allocations: 7.938 kB / 0.7618 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6136, allocations: 0.8257 MB / 0.7626 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.6139, allocations: 231.9 kB / 0.7629 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.614, allocations: 19.94 kB / 0.7629 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.6147, allocations: 55.86 kB / 0.7629 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.6148, allocations: 43.8 kB / 0.763 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.6149, allocations: 23.98 kB / 0.763 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009946/0.6159, allocations: 0.7034 MB / 0.7637 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6159, allocations: 0 / 0.7637 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008026/0.6167, allocations: 256 kB / 0.7639 GB, free: 4.738 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004232/0.6171, allocations: 207.1 kB / 0.7641 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.618, allocations: 0.4945 MB / 0.7646 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6181, allocations: 4 kB / 0.7646 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.6183, allocations: 183.7 kB / 0.7648 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.6209, allocations: 0.5875 MB / 0.7654 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.6237, allocations: 2.189 MB / 0.7675 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.6244, allocations: 1.099 MB / 0.7686 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008829/0.6252, allocations: 244.5 kB / 0.7688 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.6254, allocations: 67.44 kB / 0.7689 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of SimCode: time 6.52e-07/0.6254, allocations: 3.938 kB / 0.7689 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.03086/0.6563, allocations: 18.29 MB / 0.7867 GB, free: 13.57 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)