Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001693/0.001693, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002258/0.002259, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9651/0.9651, allocations: 135.2 MB / 425.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.83 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1781, allocations: 80.94 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5508/0.729, allocations: 168.7 MB / 0.7487 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00696/0.736, allocations: 4.253 MB / 0.7528 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7371, allocations: 21.03 kB / 0.7528 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.7383, allocations: 315.8 kB / 0.7531 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.7414, allocations: 0.924 MB / 0.754 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.7439, allocations: 0.744 MB / 0.7548 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.7457, allocations: 1.29 MB / 0.756 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.7464, allocations: 479.1 kB / 0.7565 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.7479, allocations: 0.6695 MB / 0.7571 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.7489, allocations: 476.4 kB / 0.7576 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.069e-05/0.749, allocations: 52 kB / 0.7576 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.751, allocations: 0.9393 MB / 0.7585 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.7512, allocations: 223.3 kB / 0.7588 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.7517, allocations: 326.5 kB / 0.7591 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.7535, allocations: 1.169 MB / 0.7602 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7536, allocations: 0 / 0.7602 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7536, allocations: 11.94 kB / 0.7602 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7536, allocations: 0 / 0.7602 GB, free: 8.746 MB / 0.5762 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.001835/0.7554, allocations: 0.9501 MB / 0.7612 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7555, allocations: 8.031 kB / 0.7612 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.7571, allocations: 263.1 kB / 0.7614 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.758, allocations: 492.5 kB / 0.7619 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.7583, allocations: 92.92 kB / 0.762 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.7584, allocations: 40 kB / 0.762 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7597, allocations: 0.6229 MB / 0.7626 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.7597, allocations: 7.984 kB / 0.7626 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.7598, allocations: 23.98 kB / 0.7626 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.7598, allocations: 17 kB / 0.7627 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.7611, allocations: 0.5581 MB / 0.7632 GB, free: 5.582 MB / 0.5762 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.004002/0.7652, allocations: 2.279 MB / 0.7654 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.7661, allocations: 295 kB / 0.7657 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.7667, allocations: 176.7 kB / 0.7659 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.7667, allocations: 0 / 0.7659 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.7668, allocations: 38.56 kB / 0.7659 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/0.7668, allocations: 0 / 0.7659 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005823/0.7726, allocations: 1.092 MB / 0.767 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.7728, allocations: 89.05 kB / 0.7671 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/0.7736, allocations: 0.5495 MB / 0.7676 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-05/0.7738, allocations: 33.7 kB / 0.7676 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.7741, allocations: 303.7 kB / 0.7679 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.7742, allocations: 43.45 kB / 0.768 GB, free: 496 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.7743, allocations: 65.53 kB / 0.768 GB, free: 424 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.7746, allocations: 350.8 kB / 0.7684 GB, free: 64 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.7752, allocations: 201.6 kB / 0.7686 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.7759, allocations: 274.1 kB / 0.7688 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7772, allocations: 422.8 kB / 0.7692 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7772, allocations: 0.5 kB / 0.7692 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002715/0.7799, allocations: 0.7355 MB / 0.7699 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7799, allocations: 7.984 kB / 0.77 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7799, allocations: 4 kB / 0.77 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.7806, allocations: 188.3 kB / 0.7701 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.7809, allocations: 71.88 kB / 0.7702 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/0.7849, allocations: 2.236 MB / 0.7724 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.7856, allocations: 83.45 kB / 0.7725 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.7856, allocations: 19.92 kB / 0.7725 GB, free: 11.64 MB / 0.5919 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.0002935/0.7859, allocations: 186.4 kB / 0.7727 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.7861, allocations: 51.38 kB / 0.7727 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.985e-05/0.7862, allocations: 59.91 kB / 0.7728 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7862, allocations: 3.938 kB / 0.7728 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7862, allocations: 0 / 0.7728 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7862, allocations: 7.922 kB / 0.7728 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.7891, allocations: 1.141 MB / 0.7739 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7891, allocations: 0 / 0.7739 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.7894, allocations: 44.02 kB / 0.7739 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.7899, allocations: 180.6 kB / 0.7741 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.7899, allocations: 7.938 kB / 0.7741 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.7934, allocations: 2.188 MB / 0.7763 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7934, allocations: 0 / 0.7763 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.7959, allocations: 0.7119 MB / 0.7769 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.7961, allocations: 160.5 kB / 0.7771 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.7962, allocations: 11.92 kB / 0.7771 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.7968, allocations: 64.72 kB / 0.7772 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.7969, allocations: 15.92 kB / 0.7772 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.7969, allocations: 13.42 kB / 0.7772 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004804/0.7974, allocations: 394.8 kB / 0.7776 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7974, allocations: 0 / 0.7776 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006774/0.7981, allocations: 179.8 kB / 0.7778 GB, free: 5.988 MB / 0.5919 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.0004353/0.7986, allocations: 172.8 kB / 0.7779 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.8002, allocations: 0.5464 MB / 0.7785 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8002, allocations: 0 / 0.7785 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.8009, allocations: 307.1 kB / 0.7787 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.8025, allocations: 307.7 kB / 0.779 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.8061, allocations: 1.24 MB / 0.7802 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.8068, allocations: 0.8621 MB / 0.7811 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006206/0.8074, allocations: 108.5 kB / 0.7812 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.8075, allocations: 39.42 kB / 0.7812 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.8075, allocations: 3.938 kB / 0.7812 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.02507/0.8326, allocations: 12.3 MB / 0.7932 GB, free: 6.246 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)