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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7071/0.7071, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 55.75 kB / 0.5012 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2911, allocations: 80.21 MB / 0.5795 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.145/0.4362, allocations: 168.7 MB / 0.7443 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00471/0.441, allocations: 4.337 MB / 0.7485 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.4412, allocations: 19.88 kB / 0.7485 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.4419, allocations: 302.5 kB / 0.7488 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.4433, allocations: 0.9336 MB / 0.7497 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4447, allocations: 0.7372 MB / 0.7504 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.446, allocations: 1.789 MB / 0.7522 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.4465, allocations: 406.9 kB / 0.7526 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.4473, allocations: 0.5952 MB / 0.7532 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.448, allocations: 468 kB / 0.7536 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.4481, allocations: 31.98 kB / 0.7536 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.4493, allocations: 1.009 MB / 0.7546 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.4495, allocations: 195.3 kB / 0.7548 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.4497, allocations: 302.5 kB / 0.7551 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4507, allocations: 1.145 MB / 0.7562 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.4508, allocations: 4 kB / 0.7562 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4508, allocations: 0 / 0.7562 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4508, allocations: 0 / 0.7562 GB, free: 12.18 MB / 0.5919 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.001317/0.4521, allocations: 0.9543 MB / 0.7572 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.4521, allocations: 8.031 kB / 0.7572 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.486e-05/0.4522, allocations: 86.52 kB / 0.7572 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4537, allocations: 263 kB / 0.7575 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.4544, allocations: 493.3 kB / 0.758 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.4547, allocations: 84.94 kB / 0.758 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.4547, allocations: 40 kB / 0.7581 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.4558, allocations: 0.6185 MB / 0.7587 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4558, allocations: 0 / 0.7587 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.4559, allocations: 27.98 kB / 0.7587 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.4559, allocations: 20.98 kB / 0.7587 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.4572, allocations: 0.5581 MB / 0.7593 GB, free: 8.93 MB / 0.5919 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.003282/0.4605, allocations: 2.284 MB / 0.7615 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.4613, allocations: 294.3 kB / 0.7618 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.4618, allocations: 176.7 kB / 0.762 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4619, allocations: 0 / 0.762 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4619, allocations: 38.56 kB / 0.762 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.4619, allocations: 0 / 0.762 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004582/0.4665, allocations: 1.111 MB / 0.7631 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4665, allocations: 77.11 kB / 0.7632 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.467, allocations: 0.5534 MB / 0.7637 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4671, allocations: 29.7 kB / 0.7637 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.4673, allocations: 307.4 kB / 0.764 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.4673, allocations: 43.45 kB / 0.7641 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4674, allocations: 57.61 kB / 0.7641 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4675, allocations: 358.8 kB / 0.7645 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.4681, allocations: 191.8 kB / 0.7646 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.4686, allocations: 279.6 kB / 0.7649 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.4697, allocations: 413.7 kB / 0.7653 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4697, allocations: 3.938 kB / 0.7653 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002382/0.4721, allocations: 0.7395 MB / 0.766 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4721, allocations: 4 kB / 0.766 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4721, allocations: 4 kB / 0.766 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.4726, allocations: 180.8 kB / 0.7662 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.473, allocations: 79.88 kB / 0.7663 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1226/0.5956, allocations: 2.086 MB / 0.7683 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.5962, allocations: 87.45 kB / 0.7684 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.5963, allocations: 15.98 kB / 0.7684 GB, free: 15.12 MB / 0.6075 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.0001801/0.5965, allocations: 185.8 kB / 0.7686 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.5966, allocations: 55.44 kB / 0.7687 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-05/0.5967, allocations: 55.97 kB / 0.7687 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5967, allocations: 0 / 0.7687 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.5967, allocations: 7.938 kB / 0.7687 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5967, allocations: 0 / 0.7687 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.5992, allocations: 1.144 MB / 0.7698 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5992, allocations: 0 / 0.7698 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.5995, allocations: 39.95 kB / 0.7699 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.5999, allocations: 188.7 kB / 0.77 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5999, allocations: 0 / 0.77 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.6028, allocations: 2.042 MB / 0.772 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6028, allocations: 0 / 0.772 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.6049, allocations: 0.7118 MB / 0.7727 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.6051, allocations: 164.5 kB / 0.7729 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.6052, allocations: 4 kB / 0.7729 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.6057, allocations: 64.72 kB / 0.773 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.6058, allocations: 19.84 kB / 0.773 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.6058, allocations: 15.98 kB / 0.773 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003649/0.6062, allocations: 394.8 kB / 0.7734 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6062, allocations: 4 kB / 0.7734 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005011/0.6067, allocations: 183.8 kB / 0.7735 GB, free: 9.617 MB / 0.6075 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.002615/0.6093, allocations: 1.316 MB / 0.7748 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.6107, allocations: 0.5313 MB / 0.7754 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6107, allocations: 3.938 kB / 0.7754 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.6113, allocations: 307 kB / 0.7756 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6125, allocations: 294.8 kB / 0.7759 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009999/0.6225, allocations: 5.317 MB / 0.7811 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.6229, allocations: 0.8582 MB / 0.782 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.6232, allocations: 104.5 kB / 0.7821 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.6234, allocations: 163.4 kB / 0.7822 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6235, allocations: 0 / 0.7822 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.278/5.902, allocations: 16.07 MB / 0.7979 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/5.902, allocations: 291.9 kB / 0.7982 GB, free: 456 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/8.283, allocations: 2.672 kB / 0.7982 GB, free: 456 kB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)