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) 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/IDEAS 3.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00616/0.006161, allocations: 103.1 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8214/0.8214, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.5813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4929, allocations: 80.2 MB / 0.6596 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2031/0.6961, allocations: 171 MB / 0.8266 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007208/0.7034, allocations: 4.274 MB / 0.8308 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7046, allocations: 23.88 kB / 0.8308 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.706, allocations: 366 kB / 0.8312 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.7092, allocations: 1.025 MB / 0.8322 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.7119, allocations: 0.8253 MB / 0.833 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.7142, allocations: 1.308 MB / 0.8343 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.7151, allocations: 479.3 kB / 0.8347 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.7168, allocations: 0.6967 MB / 0.8354 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.7181, allocations: 450.2 kB / 0.8358 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.7183, allocations: 52 kB / 0.8359 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.7202, allocations: 0.9121 MB / 0.8368 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.7206, allocations: 207.5 kB / 0.837 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.7211, allocations: 334.5 kB / 0.8373 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.723, allocations: 1.132 MB / 0.8384 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.723, allocations: 0 / 0.8384 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7231, allocations: 7.938 kB / 0.8384 GB, free: 14.58 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.519e-05/0.7231, allocations: 0 / 0.8384 GB, free: 14.58 MB / 0.67 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.001978/0.7251, allocations: 0.9583 MB / 0.8393 GB, free: 13.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7251, allocations: 8.031 kB / 0.8393 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.7268, allocations: 267 kB / 0.8396 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.7278, allocations: 0.4896 MB / 0.8401 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.7278, allocations: 29 kB / 0.8401 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.7279, allocations: 47.94 kB / 0.8401 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.7292, allocations: 0.6146 MB / 0.8407 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.7293, allocations: 0 / 0.8407 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.7293, allocations: 16 kB / 0.8408 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.7294, allocations: 20.94 kB / 0.8408 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.7308, allocations: 0.5503 MB / 0.8413 GB, free: 11.47 MB / 0.67 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.004123/0.7349, allocations: 2.272 MB / 0.8435 GB, free: 9.066 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.7358, allocations: 282.3 kB / 0.8438 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.7363, allocations: 164.7 kB / 0.844 GB, free: 8.617 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.7364, allocations: 0 / 0.844 GB, free: 8.617 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.7364, allocations: 38.78 kB / 0.844 GB, free: 8.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.7364, allocations: 3.938 kB / 0.844 GB, free: 8.566 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.005197/0.7416, allocations: 1.087 MB / 0.8451 GB, free: 7.453 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.7417, allocations: 85.09 kB / 0.8451 GB, free: 7.352 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.7424, allocations: 0.5418 MB / 0.8457 GB, free: 6.797 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.7424, allocations: 33.7 kB / 0.8457 GB, free: 6.758 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.7427, allocations: 303.4 kB / 0.846 GB, free: 6.457 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.7427, allocations: 47.44 kB / 0.846 GB, free: 6.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.7429, allocations: 53.7 kB / 0.8461 GB, free: 6.352 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.743, allocations: 358.8 kB / 0.8464 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.7437, allocations: 191.8 kB / 0.8466 GB, free: 5.805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.7447, allocations: 279.3 kB / 0.8469 GB, free: 5.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.7465, allocations: 401.5 kB / 0.8473 GB, free: 5.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7465, allocations: 4 kB / 0.8473 GB, free: 5.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.004079/0.7506, allocations: 0.7266 MB / 0.848 GB, free: 4.336 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.7506, allocations: 11.98 kB / 0.848 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7507, allocations: 0 / 0.848 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009393/0.7516, allocations: 184.8 kB / 0.8482 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.7522, allocations: 71.88 kB / 0.8482 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.758, allocations: 2.235 MB / 0.8504 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.7589, allocations: 75.55 kB / 0.8505 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.759, allocations: 15.98 kB / 0.8505 GB, free: 1.613 MB / 0.67 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.000453/0.7595, allocations: 189.7 kB / 0.8507 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.7597, allocations: 51.38 kB / 0.8507 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.7599, allocations: 52.05 kB / 0.8508 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7599, allocations: 4 kB / 0.8508 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7599, allocations: 3.984 kB / 0.8508 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.76, allocations: 0 / 0.8508 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.7644, allocations: 1.121 MB / 0.8519 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7644, allocations: 192 / 0.8519 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.7648, allocations: 43.95 kB / 0.8519 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008219/0.7656, allocations: 184.6 kB / 0.8521 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.7657, allocations: 7.984 kB / 0.8521 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.7708, allocations: 2.187 MB / 0.8542 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7709, allocations: 0 / 0.8542 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.7745, allocations: 0.7001 MB / 0.8549 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.7749, allocations: 172.4 kB / 0.8551 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.7751, allocations: 8 kB / 0.8551 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.776, allocations: 44.14 kB / 0.8551 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.7761, allocations: 11.98 kB / 0.8552 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.7762, allocations: 15.98 kB / 0.8552 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008534/0.777, allocations: 398.8 kB / 0.8556 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.7771, allocations: 0 / 0.8556 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001163/0.7782, allocations: 183.7 kB / 0.8557 GB, free: 12 MB / 0.6856 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.000581/0.7788, allocations: 173.1 kB / 0.8559 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.781, allocations: 0.5257 MB / 0.8564 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7811, allocations: 0 / 0.8564 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7821, allocations: 295 kB / 0.8567 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.7843, allocations: 317.8 kB / 0.857 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.7887, allocations: 1.064 MB / 0.858 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.7895, allocations: 0.8621 MB / 0.8589 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006462/0.7902, allocations: 104.5 kB / 0.859 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.7904, allocations: 35.42 kB / 0.859 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of SimCode: time 1.112e-06/0.7904, allocations: 0 / 0.859 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of Templates: time 0.4069/1.197, allocations: 12.47 MB / 0.8712 GB, free: 192 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (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)