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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.0008243/0.0008243, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004851/0.004851, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8876/0.8876, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004356, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3826/0.5406, allocations: 166.5 MB / 0.7507 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006061/0.5467, allocations: 4.303 MB / 0.7549 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.5471, allocations: 18.66 kB / 0.7549 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.5479, allocations: 300 kB / 0.7552 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.5498, allocations: 0.9311 MB / 0.7561 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.5514, allocations: 0.7335 MB / 0.7568 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.553, allocations: 1.785 MB / 0.7585 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.5535, allocations: 414.9 kB / 0.7589 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.5545, allocations: 0.5808 MB / 0.7595 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.5554, allocations: 443.2 kB / 0.7599 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.5555, allocations: 24 kB / 0.7599 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.557, allocations: 1.005 MB / 0.7609 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5572, allocations: 183.4 kB / 0.7611 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.5575, allocations: 316.2 kB / 0.7614 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.5588, allocations: 1.129 MB / 0.7625 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5588, allocations: 3.938 kB / 0.7625 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5588, allocations: 0 / 0.7625 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5588, allocations: 0 / 0.7625 GB, free: 9.789 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.001414/0.5602, allocations: 0.8454 MB / 0.7633 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5603, allocations: 8.031 kB / 0.7633 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.5604, allocations: 82.52 kB / 0.7634 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.5621, allocations: 287 kB / 0.7637 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.5629, allocations: 495.7 kB / 0.7642 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.5632, allocations: 92.94 kB / 0.7643 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.5633, allocations: 47.94 kB / 0.7643 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.5646, allocations: 0.6341 MB / 0.7649 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5646, allocations: 0 / 0.7649 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.5647, allocations: 20 kB / 0.7649 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.5647, allocations: 20.98 kB / 0.765 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5663, allocations: 0.5894 MB / 0.7655 GB, free: 6.57 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.003962/0.5702, allocations: 2.299 MB / 0.7678 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.5713, allocations: 322.3 kB / 0.7681 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.5719, allocations: 184.7 kB / 0.7683 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.572, allocations: 11.98 kB / 0.7683 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.572, allocations: 34.72 kB / 0.7683 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.572, allocations: 3.938 kB / 0.7683 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005498/0.5775, allocations: 1.193 MB / 0.7695 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.5776, allocations: 81.11 kB / 0.7696 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.5783, allocations: 0.5458 MB / 0.7701 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.5783, allocations: 33.7 kB / 0.7701 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.5785, allocations: 303.4 kB / 0.7704 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.5786, allocations: 39.55 kB / 0.7704 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.5787, allocations: 25.7 kB / 0.7705 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5788, allocations: 350.8 kB / 0.7708 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.5795, allocations: 213.6 kB / 0.771 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.5802, allocations: 303.8 kB / 0.7713 GB, free: 400 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.5816, allocations: 447.1 kB / 0.7717 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5816, allocations: 4 kB / 0.7717 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002887/0.5845, allocations: 0.7785 MB / 0.7725 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5845, allocations: 4 kB / 0.7725 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5845, allocations: 12.08 kB / 0.7725 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.5852, allocations: 180.7 kB / 0.7727 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.5856, allocations: 80.75 kB / 0.7728 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.5894, allocations: 2.126 MB / 0.7748 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.5901, allocations: 94.05 kB / 0.7749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.5901, allocations: 8 kB / 0.7749 GB, free: 12.51 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.0002556/0.5904, allocations: 193.8 kB / 0.7751 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.5905, allocations: 51.44 kB / 0.7752 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.5906, allocations: 48.03 kB / 0.7752 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5906, allocations: 3.938 kB / 0.7752 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.5906, allocations: 4 kB / 0.7752 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5906, allocations: 0 / 0.7752 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.5939, allocations: 1.187 MB / 0.7764 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5939, allocations: 4 kB / 0.7764 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.5942, allocations: 55.06 kB / 0.7764 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005973/0.5948, allocations: 188.6 kB / 0.7766 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5948, allocations: 4.094 kB / 0.7766 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.5984, allocations: 2.062 MB / 0.7786 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5984, allocations: 8.031 kB / 0.7786 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.6011, allocations: 0.7663 MB / 0.7794 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.6014, allocations: 160.5 kB / 0.7795 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.6014, allocations: 4 kB / 0.7795 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.6021, allocations: 65.09 kB / 0.7796 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.6021, allocations: 15.98 kB / 0.7796 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.6022, allocations: 16.3 kB / 0.7796 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004559/0.6026, allocations: 390.8 kB / 0.78 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6027, allocations: 4 kB / 0.78 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006385/0.6033, allocations: 191.7 kB / 0.7802 GB, free: 6.867 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.003208/0.6065, allocations: 1.373 MB / 0.7815 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.6082, allocations: 0.561 MB / 0.7821 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6082, allocations: 0 / 0.7821 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.609, allocations: 326.8 kB / 0.7824 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6105, allocations: 291.9 kB / 0.7827 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6223, allocations: 5.476 MB / 0.788 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.6227, allocations: 0.866 MB / 0.7889 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.6232, allocations: 104.5 kB / 0.789 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.6234, allocations: 163.4 kB / 0.7891 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6234, allocations: 0 / 0.7891 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4784/1.102, allocations: 15.91 MB / 0.8047 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/1.102, allocations: 302.2 kB / 0.8049 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.474, allocations: 0 / 0.8049 GB, free: 13.61 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)