Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8759/0.8759, allocations: 134 MB / 440.3 MB, free: 192 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.27 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 84.73 MB / 0.6935 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5338/0.717, allocations: 171.8 MB / 0.8612 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.7241, allocations: 4.31 MB / 0.8654 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.7248, allocations: 31.75 kB / 0.8654 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.7259, allocations: 365.9 kB / 0.8658 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.7284, allocations: 1.042 MB / 0.8668 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.7305, allocations: 0.8346 MB / 0.8676 GB, free: 68 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.7324, allocations: 1.315 MB / 0.8689 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.733, allocations: 383.7 kB / 0.8693 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.7344, allocations: 0.7191 MB / 0.87 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.7356, allocations: 483.3 kB / 0.8704 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.7357, allocations: 52 kB / 0.8705 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.7376, allocations: 0.9548 MB / 0.8714 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.7379, allocations: 219.3 kB / 0.8716 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.7384, allocations: 330.5 kB / 0.8719 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.7401, allocations: 1.133 MB / 0.873 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7401, allocations: 7.938 kB / 0.873 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7401, allocations: 3.938 kB / 0.873 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.7402, allocations: 0 / 0.873 GB, free: 10.48 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001878/0.742, allocations: 0.8936 MB / 0.8739 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7421, allocations: 12.03 kB / 0.8739 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.7438, allocations: 259.3 kB / 0.8742 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.7448, allocations: 452.6 kB / 0.8746 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.7448, allocations: 29 kB / 0.8746 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.7449, allocations: 40 kB / 0.8747 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.7463, allocations: 0.6224 MB / 0.8753 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.7463, allocations: 0 / 0.8753 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.7464, allocations: 16 kB / 0.8753 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.7464, allocations: 21 kB / 0.8753 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.748, allocations: 0.5503 MB / 0.8759 GB, free: 7.527 MB / 0.6387 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.004604/0.7526, allocations: 2.213 MB / 0.878 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7536, allocations: 274.3 kB / 0.8783 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.7542, allocations: 172.9 kB / 0.8784 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.7543, allocations: 3.938 kB / 0.8784 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7543, allocations: 38.56 kB / 0.8785 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.7543, allocations: 0 / 0.8785 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.005543/0.7598, allocations: 1.009 MB / 0.8795 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.7599, allocations: 85.05 kB / 0.8795 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/0.7607, allocations: 0.5496 MB / 0.8801 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.7607, allocations: 33.7 kB / 0.8801 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.761, allocations: 308.1 kB / 0.8804 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.761, allocations: 39.69 kB / 0.8805 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7611, allocations: 57.66 kB / 0.8805 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.7613, allocations: 358.8 kB / 0.8808 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.762, allocations: 191.8 kB / 0.881 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.7627, allocations: 274.6 kB / 0.8813 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.764, allocations: 407.9 kB / 0.8817 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.764, allocations: 7.938 kB / 0.8817 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002893/0.7669, allocations: 0.7319 MB / 0.8824 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7669, allocations: 4 kB / 0.8824 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7669, allocations: 4 kB / 0.8824 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.7676, allocations: 180.8 kB / 0.8826 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.768, allocations: 75.19 kB / 0.8827 GB, free: 284 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.7724, allocations: 2.13 MB / 0.8847 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.7731, allocations: 71.69 kB / 0.8848 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.7731, allocations: 13.62 kB / 0.8848 GB, free: 13.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.7734, allocations: 189.7 kB / 0.885 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.7735, allocations: 63.59 kB / 0.8851 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.7736, allocations: 52.03 kB / 0.8851 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7736, allocations: 4 kB / 0.8851 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7736, allocations: 0 / 0.8851 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7736, allocations: 0 / 0.8851 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.7771, allocations: 1.108 MB / 0.8862 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.7771, allocations: 0 / 0.8862 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.7773, allocations: 40.02 kB / 0.8862 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/0.7779, allocations: 180.7 kB / 0.8864 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.778, allocations: 4.812 kB / 0.8864 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/0.7822, allocations: 2.093 MB / 0.8885 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7822, allocations: 4.062 kB / 0.8885 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.7851, allocations: 0.7012 MB / 0.8891 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.7854, allocations: 91.56 kB / 0.8892 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.7855, allocations: 11.92 kB / 0.8892 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.7862, allocations: 48.89 kB / 0.8893 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.7862, allocations: 11.97 kB / 0.8893 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.7863, allocations: 15.98 kB / 0.8893 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005295/0.7868, allocations: 390.9 kB / 0.8897 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7868, allocations: 3.938 kB / 0.8897 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006887/0.7875, allocations: 187.8 kB / 0.8899 GB, free: 8.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/0.788, allocations: 169 kB / 0.89 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.7898, allocations: 0.5195 MB / 0.8905 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7898, allocations: 0 / 0.8905 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.7906, allocations: 295 kB / 0.8908 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.7921, allocations: 310.3 kB / 0.8911 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.7954, allocations: 1.079 MB / 0.8922 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.7959, allocations: 0.8698 MB / 0.893 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000403/0.7963, allocations: 112.4 kB / 0.8931 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7964, allocations: 35.44 kB / 0.8932 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.7964, allocations: 0 / 0.8932 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of Templates: time 0.02382/0.8203, allocations: 12.74 MB / 0.9056 GB, free: 8.578 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5285015953704715] Failed to read output from testmodel.py, exit status != 0: 0.8280271617695689 0.8445397840000001 0.100984209 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc3cb6217b0>