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.001052/0.001052, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001007/0.001007, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6995/0.6995, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 60.12 kB / 0.5013 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3591/0.4882, allocations: 168.7 MB / 0.7444 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.4933, allocations: 4.258 MB / 0.7486 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.4937, allocations: 20.25 kB / 0.7486 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.4944, allocations: 316.5 kB / 0.7489 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.4961, allocations: 0.9315 MB / 0.7498 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.4976, allocations: 0.7439 MB / 0.7505 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4987, allocations: 1.286 MB / 0.7518 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.4992, allocations: 485.4 kB / 0.7522 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/0.5001, allocations: 0.663 MB / 0.7529 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.5009, allocations: 479.5 kB / 0.7533 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.501, allocations: 56.44 kB / 0.7534 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5021, allocations: 0.9485 MB / 0.7543 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.5023, allocations: 207.5 kB / 0.7545 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5026, allocations: 334.5 kB / 0.7548 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5037, allocations: 1.169 MB / 0.756 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5037, allocations: 0 / 0.756 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5037, allocations: 0 / 0.756 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.5038, allocations: 0 / 0.756 GB, free: 14.71 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.001421/0.5052, allocations: 0.9543 MB / 0.7569 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5052, allocations: 8.031 kB / 0.7569 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.125e-05/0.5053, allocations: 90.52 kB / 0.757 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5069, allocations: 259 kB / 0.7572 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.5076, allocations: 495.6 kB / 0.7577 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.508, allocations: 84.94 kB / 0.7578 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.508, allocations: 44 kB / 0.7578 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5092, allocations: 0.6185 MB / 0.7584 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5092, allocations: 3.938 kB / 0.7584 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.5093, allocations: 16 kB / 0.7585 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.5093, allocations: 24.98 kB / 0.7585 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.5107, allocations: 0.5542 MB / 0.759 GB, free: 11.46 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.003603/0.5143, allocations: 2.292 MB / 0.7613 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.5152, allocations: 290.3 kB / 0.7615 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.5158, allocations: 168.7 kB / 0.7617 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.5158, allocations: 15.92 kB / 0.7617 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.5158, allocations: 34.56 kB / 0.7618 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.5158, allocations: 0 / 0.7618 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005039/0.5209, allocations: 1.107 MB / 0.7628 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.5209, allocations: 81.11 kB / 0.7629 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.5215, allocations: 0.5457 MB / 0.7634 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5215, allocations: 29.7 kB / 0.7635 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.5217, allocations: 307.5 kB / 0.7638 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.5217, allocations: 35.45 kB / 0.7638 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.5219, allocations: 67.34 kB / 0.7639 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.522, allocations: 354.8 kB / 0.7642 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.5226, allocations: 187.8 kB / 0.7644 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.5232, allocations: 287.6 kB / 0.7647 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5243, allocations: 415.3 kB / 0.7651 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5243, allocations: 4 kB / 0.7651 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00261/0.5269, allocations: 0.7355 MB / 0.7658 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.527, allocations: 10.34 kB / 0.7658 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.527, allocations: 4.094 kB / 0.7658 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/0.5276, allocations: 184.7 kB / 0.766 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.5279, allocations: 83.81 kB / 0.766 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.5315, allocations: 2.229 MB / 0.7682 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.5321, allocations: 92.88 kB / 0.7683 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.5322, allocations: 15.94 kB / 0.7683 GB, free: 1.5 MB / 0.5762 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.0002056/0.5324, allocations: 193.7 kB / 0.7685 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.5325, allocations: 51.38 kB / 0.7686 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.054e-05/0.5326, allocations: 48.05 kB / 0.7686 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5326, allocations: 7.984 kB / 0.7686 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.5326, allocations: 0 / 0.7686 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5326, allocations: 0 / 0.7686 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.5356, allocations: 1.141 MB / 0.7697 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5356, allocations: 4 kB / 0.7697 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.5358, allocations: 35.95 kB / 0.7698 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.5363, allocations: 181.5 kB / 0.7699 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.5364, allocations: 11.92 kB / 0.7699 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003284/0.5397, allocations: 2.179 MB / 0.7721 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5397, allocations: 7.969 kB / 0.7721 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.5421, allocations: 0.7157 MB / 0.7728 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.5423, allocations: 172.4 kB / 0.7729 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.5424, allocations: 3.938 kB / 0.7729 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.543, allocations: 62.12 kB / 0.773 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5431, allocations: 19.97 kB / 0.773 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.5431, allocations: 15.98 kB / 0.773 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003714/0.5435, allocations: 390.8 kB / 0.7734 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5435, allocations: 0 / 0.7734 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005318/0.544, allocations: 183.8 kB / 0.7736 GB, free: 11.85 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.002921/0.547, allocations: 1.324 MB / 0.7749 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.5485, allocations: 0.5412 MB / 0.7754 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5485, allocations: 0 / 0.7754 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.5492, allocations: 307 kB / 0.7757 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5505, allocations: 311.6 kB / 0.776 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5613, allocations: 5.314 MB / 0.7812 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.5617, allocations: 0.8621 MB / 0.782 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003933/0.5621, allocations: 100.5 kB / 0.7821 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5623, allocations: 159.4 kB / 0.7823 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5623, allocations: 4 kB / 0.7823 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.5921, allocations: 16.56 MB / 0.7985 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.5923, allocations: 296 kB / 0.7987 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.534, allocations: 3.75 kB / 0.7987 GB, free: 2.199 MB / 0.6075 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)