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.005207/0.005207, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001276/0.001276, allocations: 201.5 kB / 16.68 MB, free: 5.926 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8498/0.8498, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 73.41 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1716, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5639/0.7356, allocations: 171 MB / 0.8262 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007486/0.7431, allocations: 4.294 MB / 0.8304 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.7442, allocations: 23.12 kB / 0.8304 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.7454, allocations: 355.2 kB / 0.8308 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.7489, allocations: 1.223 MB / 0.832 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.7512, allocations: 0.7924 MB / 0.8327 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.7544, allocations: 1.689 MB / 0.8344 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.7556, allocations: 0.5588 MB / 0.8349 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.7574, allocations: 0.6843 MB / 0.8356 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.7593, allocations: 0.5456 MB / 0.8361 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.7594, allocations: 67.56 kB / 0.8362 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.7615, allocations: 0.802 MB / 0.837 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.7619, allocations: 270.4 kB / 0.8372 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.7625, allocations: 416.4 kB / 0.8376 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.7649, allocations: 1.262 MB / 0.8389 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7649, allocations: 0 / 0.8389 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7649, allocations: 0 / 0.8389 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.7649, allocations: 2.5 kB / 0.8389 GB, free: 9.988 MB / 0.6075 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.002217/0.7672, allocations: 1.06 MB / 0.8399 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7672, allocations: 10.09 kB / 0.8399 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.7674, allocations: 98.7 kB / 0.84 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7684, allocations: 169 kB / 0.8402 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.7693, allocations: 0.548 MB / 0.8407 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.7694, allocations: 49.36 kB / 0.8407 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.7695, allocations: 51.25 kB / 0.8408 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.7706, allocations: 0.6493 MB / 0.8414 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.7706, allocations: 4 kB / 0.8414 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.7707, allocations: 23.38 kB / 0.8415 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.7708, allocations: 21.72 kB / 0.8415 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/0.7717, allocations: 0.5134 MB / 0.842 GB, free: 7.809 MB / 0.6075 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.00369/0.7754, allocations: 2.301 MB / 0.8442 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.7759, allocations: 260.2 kB / 0.8445 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.7762, allocations: 140.5 kB / 0.8446 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.7763, allocations: 2.562 kB / 0.8446 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.7763, allocations: 39.22 kB / 0.8446 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 5.12e-06/0.7763, allocations: 3.984 kB / 0.8446 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001883/0.7782, allocations: 0.6792 MB / 0.8453 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.7783, allocations: 83.77 kB / 0.8454 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.7791, allocations: 0.5548 MB / 0.8459 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.7792, allocations: 35.8 kB / 0.846 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.7795, allocations: 341.5 kB / 0.8463 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.7796, allocations: 77.98 kB / 0.8464 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7797, allocations: 69.67 kB / 0.8464 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.78, allocations: 358.9 kB / 0.8468 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.7802, allocations: 126.3 kB / 0.8469 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.7806, allocations: 227.6 kB / 0.8471 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.7812, allocations: 332.3 kB / 0.8474 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7812, allocations: 0 / 0.8474 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000966/0.7821, allocations: 0.4948 MB / 0.8479 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7822, allocations: 7.562 kB / 0.8479 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.7822, allocations: 7.031 kB / 0.8479 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.7825, allocations: 102.3 kB / 0.848 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.7829, allocations: 66.88 kB / 0.8481 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.7872, allocations: 3.339 MB / 0.8513 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.7879, allocations: 50.66 kB / 0.8514 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.788, allocations: 18.69 kB / 0.8514 GB, free: 15.88 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003809/0.7884, allocations: 219.9 kB / 0.8516 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7885, allocations: 57.83 kB / 0.8517 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.7886, allocations: 57.78 kB / 0.8517 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7886, allocations: 0 / 0.8517 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7886, allocations: 2.781 kB / 0.8517 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007986/0.7894, allocations: 0.537 MB / 0.8523 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.7909, allocations: 0.9175 MB / 0.8532 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7909, allocations: 64 / 0.8532 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.7911, allocations: 40.27 kB / 0.8532 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.7914, allocations: 63.7 kB / 0.8533 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.7914, allocations: 6.094 kB / 0.8533 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.7935, allocations: 1.823 MB / 0.855 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.7935, allocations: 5.5 kB / 0.855 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008529/0.7944, allocations: 439.9 kB / 0.8555 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.7947, allocations: 172.6 kB / 0.8556 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.7948, allocations: 7.984 kB / 0.8556 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.7952, allocations: 22.8 kB / 0.8557 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.7953, allocations: 15.98 kB / 0.8557 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.7953, allocations: 15.98 kB / 0.8557 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005483/0.7959, allocations: 402.8 kB / 0.8561 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7959, allocations: 0 / 0.8561 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007295/0.7966, allocations: 207.7 kB / 0.8563 GB, free: 11.31 MB / 0.6231 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/0.7981, allocations: 1.035 MB / 0.8573 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7991, allocations: 0.5283 MB / 0.8578 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7992, allocations: 0 / 0.8578 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.7996, allocations: 260.5 kB / 0.858 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.8013, allocations: 363.8 kB / 0.8584 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.808, allocations: 4.483 MB / 0.8628 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.8087, allocations: 0.9093 MB / 0.8637 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005066/0.8092, allocations: 108.8 kB / 0.8638 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.8095, allocations: 191.4 kB / 0.8639 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.8095, allocations: 0 / 0.8639 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05439/0.8639, allocations: 17.81 MB / 0.8813 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.98, allocations: 9.938 kB / 0.8814 GB, free: 1.738 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)