Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.000908/0.000908, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008243/0.0008243, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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.9426/0.9426, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7889/0.7889, allocations: 203.8 MB / 0.5042 GB, free: 9.98 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009732/0.0009732, allocations: 71.31 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4986, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1512/0.6498, allocations: 150.7 MB / 0.965 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.654, allocations: 3.216 MB / 0.9681 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.6544, allocations: 27.75 kB / 0.9681 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.6551, allocations: 302.1 kB / 0.9684 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6567, allocations: 1.058 MB / 0.9695 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.6578, allocations: 0.6903 MB / 0.9701 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.6589, allocations: 1.556 MB / 0.9717 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.6593, allocations: 376.2 kB / 0.972 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.6601, allocations: 0.7435 MB / 0.9727 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/0.6609, allocations: 482.5 kB / 0.9732 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.661, allocations: 52 kB / 0.9733 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007261/0.6617, allocations: 0.6935 MB / 0.9739 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.6619, allocations: 247.3 kB / 0.9742 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.6621, allocations: 282.8 kB / 0.9744 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.6629, allocations: 1.125 MB / 0.9755 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6629, allocations: 0 / 0.9755 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6629, allocations: 0 / 0.9755 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.663, allocations: 0 / 0.9755 GB, free: 3.617 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008954/0.6639, allocations: 0.8548 MB / 0.9764 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6639, allocations: 8.031 kB / 0.9764 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.218e-05/0.664, allocations: 82.52 kB / 0.9765 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/0.6646, allocations: 179.4 kB / 0.9766 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.6652, allocations: 470.6 kB / 0.9771 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.6652, allocations: 33 kB / 0.9771 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.6652, allocations: 44 kB / 0.9772 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.6658, allocations: 0.7103 MB / 0.9778 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6658, allocations: 7.938 kB / 0.9779 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.6658, allocations: 16 kB / 0.9779 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6659, allocations: 17 kB / 0.9779 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.6663, allocations: 415.7 kB / 0.9783 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.6677, allocations: 1.23 MB / 0.9795 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.668, allocations: 286.6 kB / 0.9798 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.6681, allocations: 165.7 kB / 0.9799 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.731e-05/0.6682, allocations: 19.92 kB / 0.9799 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6682, allocations: 42.5 kB / 0.98 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.282e-06/0.6682, allocations: 0 / 0.98 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.00125/0.6695, allocations: 0.9909 MB / 0.9809 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.6695, allocations: 63.33 kB / 0.981 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.6698, allocations: 453.9 kB / 0.9814 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.6699, allocations: 33.7 kB / 0.9815 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.67, allocations: 256.4 kB / 0.9817 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.6701, allocations: 122.9 kB / 0.9818 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.6702, allocations: 65.66 kB / 0.9819 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.6703, allocations: 358.8 kB / 0.9822 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.6704, allocations: 127.9 kB / 0.9824 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6706, allocations: 253.1 kB / 0.9826 GB, free: 12.07 MB / 0.7605 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.6717, allocations: 0.7851 MB / 0.9834 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6717, allocations: 0 / 0.9834 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003942/0.6721, allocations: 421.4 kB / 0.9838 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6721, allocations: 8 kB / 0.9838 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6721, allocations: 0 / 0.9838 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6721, allocations: 4 kB / 0.9838 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.6723, allocations: 71.91 kB / 0.9838 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6723, allocations: 7.938 kB / 0.9839 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.6725, allocations: 8 kB / 0.9839 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.6725, allocations: 12 kB / 0.9839 GB, free: 10.74 MB / 0.7605 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001658/0.6727, allocations: 217.7 kB / 0.9841 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.6727, allocations: 55.73 kB / 0.9841 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.6728, allocations: 60.77 kB / 0.9842 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6728, allocations: 4 kB / 0.9842 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6728, allocations: 0 / 0.9842 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003097/0.6731, allocations: 409.1 kB / 0.9846 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6742, allocations: 1.151 MB / 0.9857 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6742, allocations: 4 kB / 0.9857 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.6743, allocations: 67.91 kB / 0.9858 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6743, allocations: 11.94 kB / 0.9858 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6744, allocations: 12 kB / 0.9858 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.6744, allocations: 15.86 kB / 0.9858 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.6744, allocations: 7.984 kB / 0.9858 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.6749, allocations: 0.704 MB / 0.9865 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6752, allocations: 91.62 kB / 0.9866 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.6752, allocations: 12 kB / 0.9866 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6754, allocations: 19.98 kB / 0.9866 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.6755, allocations: 35.83 kB / 0.9867 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.6755, allocations: 20 kB / 0.9867 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002254/0.6757, allocations: 327.1 kB / 0.987 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6757, allocations: 4 kB / 0.987 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003293/0.676, allocations: 140.1 kB / 0.9871 GB, free: 7.195 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0008309/0.6769, allocations: 1.29 MB / 0.9884 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.6772, allocations: 308.5 kB / 0.9887 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6772, allocations: 4 kB / 0.9887 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6774, allocations: 160.7 kB / 0.9888 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.6783, allocations: 363.2 kB / 0.9892 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.6821, allocations: 4.43 MB / 0.9935 GB, free: 396 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.6823, allocations: 280.8 kB / 0.9938 GB, free: 88 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003215/0.6826, allocations: 136.7 kB / 0.9939 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.6828, allocations: 171.3 kB / 0.9941 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of SimCode: time 1.132e-06/0.6828, allocations: 3.938 kB / 0.9941 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.7101, allocations: 17.38 MB / 1.011 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.569, allocations: 8.156 kB / 1.011 GB, free: 14.78 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.467767868656665] Failed to read output from testmodel.py, exit status != 0: 7.652881649788469 7.661267847 6.996605551 Calling exit ...