Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.0009287/0.0009285, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001157/0.001157, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8263/0.8263, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003239, allocations: 8 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4466, allocations: 81.57 MB / 0.5831 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1889/0.6356, allocations: 155.4 MB / 0.7349 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006427/0.642, allocations: 4.031 MB / 0.7389 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.6427, allocations: 19.88 kB / 0.7389 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.6435, allocations: 230.6 kB / 0.7391 GB, free: 0.5547 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.002571/0.6461, allocations: 0.9019 MB / 0.74 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6478, allocations: 0.5665 MB / 0.7405 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.6502, allocations: 1.98 MB / 0.7425 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.6508, allocations: 416.7 kB / 0.7429 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.6519, allocations: 0.5835 MB / 0.7434 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.6527, allocations: 0.5255 MB / 0.744 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.6528, allocations: 28 kB / 0.744 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.6541, allocations: 415 kB / 0.7444 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.6543, allocations: 223.3 kB / 0.7446 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.6545, allocations: 173.4 kB / 0.7448 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.6555, allocations: 0.8883 MB / 0.7456 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6555, allocations: 0 / 0.7456 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6555, allocations: 0 / 0.7456 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.6555, allocations: 0 / 0.7456 GB, free: 9.855 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001622/0.6572, allocations: 0.9195 MB / 0.7465 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6572, allocations: 12.03 kB / 0.7465 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.6573, allocations: 94.52 kB / 0.7466 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/0.6583, allocations: 163 kB / 0.7468 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.6591, allocations: 0.5058 MB / 0.7473 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.6592, allocations: 45.31 kB / 0.7473 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.6592, allocations: 52 kB / 0.7474 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6603, allocations: 0.6479 MB / 0.748 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6604, allocations: 0 / 0.748 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.6604, allocations: 31.95 kB / 0.748 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.6605, allocations: 21.31 kB / 0.748 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.6614, allocations: 0.5243 MB / 0.7486 GB, free: 6.73 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.003046/0.6644, allocations: 2.297 MB / 0.7508 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.6649, allocations: 275.2 kB / 0.7511 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.6652, allocations: 140.8 kB / 0.7512 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.6652, allocations: 0 / 0.7512 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.6652, allocations: 38.56 kB / 0.7512 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.6653, allocations: 0 / 0.7512 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001536/0.6668, allocations: 0.6819 MB / 0.7519 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.6669, allocations: 93.03 kB / 0.752 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.6675, allocations: 0.5573 MB / 0.7525 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.6675, allocations: 33.7 kB / 0.7526 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.6678, allocations: 327.4 kB / 0.7529 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.6679, allocations: 74.98 kB / 0.753 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.6679, allocations: 8 kB / 0.753 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.668, allocations: 354.8 kB / 0.7533 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.6683, allocations: 136.6 kB / 0.7534 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.6686, allocations: 232 kB / 0.7536 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.6689, allocations: 172 kB / 0.7538 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.6689, allocations: 4 kB / 0.7538 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008459/0.6697, allocations: 0.5077 MB / 0.7543 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6698, allocations: 7.953 kB / 0.7543 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6698, allocations: 4 kB / 0.7543 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.6701, allocations: 89.66 kB / 0.7544 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.6704, allocations: 75.91 kB / 0.7545 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.6732, allocations: 3.096 MB / 0.7575 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.6737, allocations: 63.41 kB / 0.7576 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.6737, allocations: 19.98 kB / 0.7576 GB, free: 12.88 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.674, allocations: 218.5 kB / 0.7578 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.6741, allocations: 63.33 kB / 0.7579 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/0.6742, allocations: 56.5 kB / 0.7579 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6742, allocations: 0 / 0.7579 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.6742, allocations: 0 / 0.7579 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00071/0.6749, allocations: 0.5423 MB / 0.7584 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6762, allocations: 0.9239 MB / 0.7593 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6762, allocations: 4 kB / 0.7593 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.6764, allocations: 39.97 kB / 0.7594 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.6766, allocations: 64.88 kB / 0.7594 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.6766, allocations: 8.188 kB / 0.7595 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.6782, allocations: 1.687 MB / 0.7611 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6782, allocations: 3.984 kB / 0.7611 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.6789, allocations: 447.3 kB / 0.7615 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.6791, allocations: 172.3 kB / 0.7617 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.6792, allocations: 4 kB / 0.7617 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.6796, allocations: 40.56 kB / 0.7617 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.6797, allocations: 15.97 kB / 0.7618 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.6797, allocations: 12 kB / 0.7618 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004489/0.6802, allocations: 398.8 kB / 0.7621 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6802, allocations: 0 / 0.7621 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006954/0.6809, allocations: 207.6 kB / 0.7623 GB, free: 7.688 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.682, allocations: 1.049 MB / 0.7634 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.6829, allocations: 0.5419 MB / 0.7639 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.683, allocations: 4 kB / 0.7639 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.6833, allocations: 258.5 kB / 0.7641 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.6848, allocations: 360.1 kB / 0.7645 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.6894, allocations: 3.138 MB / 0.7676 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.6899, allocations: 0.9054 MB / 0.7684 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004858/0.6904, allocations: 112.8 kB / 0.7685 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.6907, allocations: 187.4 kB / 0.7687 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.6907, allocations: 0 / 0.7687 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.7297, allocations: 17.1 MB / 0.7854 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.73, allocations: 260 kB / 0.7857 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.814, allocations: 3.938 kB / 0.7857 GB, free: 15.96 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: