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.000948/0.0009479, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009608/0.0009608, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003569, allocations: 16.47 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4591, allocations: 81.56 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1657/0.6248, allocations: 155.4 MB / 0.7349 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005488/0.6304, allocations: 4.016 MB / 0.7388 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.6308, allocations: 19.88 kB / 0.7388 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.6315, allocations: 230.6 kB / 0.739 GB, free: 0.5586 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6331, allocations: 0.7425 MB / 0.7398 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.6345, allocations: 0.5955 MB / 0.7403 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.636, allocations: 1.516 MB / 0.7418 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.6365, allocations: 364.3 kB / 0.7422 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.6374, allocations: 0.5524 MB / 0.7427 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.638, allocations: 426.4 kB / 0.7431 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.6381, allocations: 24 kB / 0.7431 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.6392, allocations: 0.6198 MB / 0.7437 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.6394, allocations: 179.4 kB / 0.7439 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.6396, allocations: 149.4 kB / 0.744 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0009458/0.6405, allocations: 0.7949 MB / 0.7448 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6405, allocations: 0 / 0.7448 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6405, allocations: 0 / 0.7448 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.6405, allocations: 0 / 0.7448 GB, free: 10.6 MB / 0.5763 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.001722/0.6423, allocations: 0.8493 MB / 0.7457 GB, free: 9.703 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.6423, allocations: 8.031 kB / 0.7457 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.6424, allocations: 86.47 kB / 0.7457 GB, free: 9.602 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.644, allocations: 294.9 kB / 0.746 GB, free: 9.312 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.6448, allocations: 465.8 kB / 0.7465 GB, free: 8.82 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.6451, allocations: 104.9 kB / 0.7466 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.6452, allocations: 40 kB / 0.7466 GB, free: 8.68 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.6464, allocations: 0.6302 MB / 0.7472 GB, free: 8.027 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6465, allocations: 4 kB / 0.7472 GB, free: 8.023 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.6465, allocations: 27.95 kB / 0.7473 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.6466, allocations: 21 kB / 0.7473 GB, free: 7.973 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6479, allocations: 0.5816 MB / 0.7478 GB, free: 7.395 MB / 0.5763 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.003912/0.6518, allocations: 2.307 MB / 0.7501 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.6527, allocations: 310.3 kB / 0.7504 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.6533, allocations: 188.7 kB / 0.7506 GB, free: 4.453 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.6533, allocations: 4 kB / 0.7506 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.6534, allocations: 34.5 kB / 0.7506 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.6534, allocations: 0 / 0.7506 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.004655/0.658, allocations: 1.193 MB / 0.7518 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.6581, allocations: 81.11 kB / 0.7519 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.6587, allocations: 0.5456 MB / 0.7524 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.6587, allocations: 29.7 kB / 0.7524 GB, free: 2.492 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.659, allocations: 303.5 kB / 0.7527 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.659, allocations: 43.39 kB / 0.7527 GB, free: 2.148 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.6591, allocations: 0 / 0.7527 GB, free: 2.148 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6593, allocations: 362.8 kB / 0.7531 GB, free: 1.785 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.6598, allocations: 207.8 kB / 0.7533 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.6605, allocations: 295.6 kB / 0.7536 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.6611, allocations: 211.8 kB / 0.7538 GB, free: 1.051 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6611, allocations: 4 kB / 0.7538 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002401/0.6635, allocations: 0.7843 MB / 0.7545 GB, free: 260 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6635, allocations: 12.09 kB / 0.7546 GB, free: 248 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6635, allocations: 0 / 0.7546 GB, free: 248 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.6642, allocations: 188.7 kB / 0.7547 GB, free: 56 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.6646, allocations: 79.88 kB / 0.7548 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.6686, allocations: 2.184 MB / 0.7569 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.6692, allocations: 95.44 kB / 0.757 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.6692, allocations: 16 kB / 0.757 GB, free: 13.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.6695, allocations: 201.6 kB / 0.7572 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.6696, allocations: 51.44 kB / 0.7573 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.6697, allocations: 48.05 kB / 0.7573 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6697, allocations: 0 / 0.7573 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6697, allocations: 7.984 kB / 0.7573 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6697, allocations: 0 / 0.7573 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.6726, allocations: 1.191 MB / 0.7585 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6726, allocations: 3.938 kB / 0.7585 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.6729, allocations: 48.02 kB / 0.7586 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.6734, allocations: 188.7 kB / 0.7587 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.6734, allocations: 7.984 kB / 0.7587 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.6766, allocations: 2.061 MB / 0.7608 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6766, allocations: 4.062 kB / 0.7608 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.6789, allocations: 0.7581 MB / 0.7615 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.6792, allocations: 168.5 kB / 0.7617 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.6792, allocations: 4 kB / 0.7617 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.6798, allocations: 68.55 kB / 0.7617 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.6798, allocations: 11.94 kB / 0.7617 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.6799, allocations: 19.92 kB / 0.7618 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000432/0.6803, allocations: 398.8 kB / 0.7621 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6803, allocations: 0 / 0.7621 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006313/0.681, allocations: 179.8 kB / 0.7623 GB, free: 7.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002824/0.6838, allocations: 1.355 MB / 0.7636 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.6857, allocations: 0.6507 MB / 0.7643 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6858, allocations: 4 kB / 0.7643 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.6864, allocations: 319 kB / 0.7646 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6877, allocations: 286.6 kB / 0.7649 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.6956, allocations: 3.56 MB / 0.7683 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.6961, allocations: 0.8582 MB / 0.7692 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004533/0.6966, allocations: 108.6 kB / 0.7693 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.6968, allocations: 163.4 kB / 0.7694 GB, free: 472 kB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.6968, allocations: 4 kB / 0.7694 GB, free: 468 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.7275, allocations: 15.98 MB / 0.785 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.7277, allocations: 273.4 kB / 0.7853 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.759, allocations: 0 / 0.7853 GB, free: 0.5391 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/linux/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) Environment - environmentSimulation: