Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_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.004723/0.004723, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9672/0.9672, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4314, allocations: 81.04 MB / 0.6649 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2069/0.6384, allocations: 171 MB / 0.8319 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.6453, allocations: 4.286 MB / 0.8361 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.646, allocations: 23.88 kB / 0.8361 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.647, allocations: 353.9 kB / 0.8364 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.65, allocations: 1.217 MB / 0.8376 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.652, allocations: 0.7962 MB / 0.8384 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.6543, allocations: 1.691 MB / 0.8401 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008527/0.6552, allocations: 0.5543 MB / 0.8406 GB, free: 12.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.6564, allocations: 0.681 MB / 0.8413 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.6577, allocations: 0.5616 MB / 0.8418 GB, free: 11.19 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6578, allocations: 67.94 kB / 0.8419 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.6594, allocations: 0.7951 MB / 0.8427 GB, free: 10.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.6598, allocations: 271.3 kB / 0.8429 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.6602, allocations: 410.2 kB / 0.8433 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.662, allocations: 1.267 MB / 0.8445 GB, free: 8.391 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.662, allocations: 4 kB / 0.8445 GB, free: 8.387 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.662, allocations: 0 / 0.8445 GB, free: 8.387 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.662, allocations: 3.984 kB / 0.8445 GB, free: 8.383 MB / 0.67 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.001857/0.6639, allocations: 1.055 MB / 0.8456 GB, free: 7.273 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6639, allocations: 8.031 kB / 0.8456 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.6641, allocations: 102.5 kB / 0.8457 GB, free: 7.156 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.6651, allocations: 167.4 kB / 0.8458 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.6659, allocations: 0.5525 MB / 0.8464 GB, free: 6.402 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.666, allocations: 41.31 kB / 0.8464 GB, free: 6.363 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.6661, allocations: 52 kB / 0.8465 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6672, allocations: 0.6479 MB / 0.8471 GB, free: 5.648 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6672, allocations: 7.875 kB / 0.8471 GB, free: 5.641 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.6673, allocations: 24 kB / 0.8471 GB, free: 5.617 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.6673, allocations: 25.31 kB / 0.8472 GB, free: 5.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.6683, allocations: 0.5087 MB / 0.8477 GB, free: 5.082 MB / 0.67 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.003287/0.6716, allocations: 2.309 MB / 0.8499 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.6722, allocations: 254.8 kB / 0.8502 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.6724, allocations: 134.4 kB / 0.8503 GB, free: 2.215 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6725, allocations: 7.984 kB / 0.8503 GB, free: 2.207 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.6725, allocations: 42.56 kB / 0.8503 GB, free: 2.156 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.6725, allocations: 0 / 0.8503 GB, free: 2.156 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001702/0.6742, allocations: 0.6674 MB / 0.851 GB, free: 1.441 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.6743, allocations: 89.05 kB / 0.8511 GB, free: 1.336 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.675, allocations: 0.5574 MB / 0.8516 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.675, allocations: 33.7 kB / 0.8516 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.6753, allocations: 336.1 kB / 0.852 GB, free: 404 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.6754, allocations: 79.36 kB / 0.852 GB, free: 324 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6755, allocations: 69.98 kB / 0.8521 GB, free: 248 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6757, allocations: 358.8 kB / 0.8524 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.676, allocations: 140.5 kB / 0.8526 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.6763, allocations: 219.5 kB / 0.8528 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.6769, allocations: 337.7 kB / 0.8531 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6769, allocations: 0 / 0.8531 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009546/0.6779, allocations: 0.4911 MB / 0.8536 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6779, allocations: 4 kB / 0.8536 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6779, allocations: 7.938 kB / 0.8536 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.6783, allocations: 89.64 kB / 0.8537 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.6788, allocations: 71.91 kB / 0.8538 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.6821, allocations: 3.34 MB / 0.857 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.6826, allocations: 55.61 kB / 0.8571 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.6826, allocations: 8 kB / 0.8571 GB, free: 10.78 MB / 0.6856 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.0003103/0.6829, allocations: 219.8 kB / 0.8573 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.6831, allocations: 67.56 kB / 0.8574 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6832, allocations: 56.5 kB / 0.8574 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6832, allocations: 4 kB / 0.8574 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6832, allocations: 4 kB / 0.8574 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007692/0.684, allocations: 0.5267 MB / 0.8579 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.6853, allocations: 0.9143 MB / 0.8588 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6853, allocations: 4 kB / 0.8588 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6855, allocations: 47.91 kB / 0.8589 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.6857, allocations: 60.81 kB / 0.8589 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.6858, allocations: 0 / 0.8589 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6876, allocations: 1.833 MB / 0.8607 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6876, allocations: 0 / 0.8607 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.6883, allocations: 446.2 kB / 0.8611 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.6885, allocations: 172.7 kB / 0.8613 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.6886, allocations: 12 kB / 0.8613 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.689, allocations: 15.98 kB / 0.8613 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.6891, allocations: 19.97 kB / 0.8614 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.6891, allocations: 12 kB / 0.8614 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004722/0.6896, allocations: 402.8 kB / 0.8618 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6896, allocations: 3.938 kB / 0.8618 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006158/0.6902, allocations: 203.7 kB / 0.8619 GB, free: 5.457 MB / 0.6856 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.001282/0.6915, allocations: 1.026 MB / 0.863 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.6926, allocations: 0.5283 MB / 0.8635 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6926, allocations: 0 / 0.8635 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.693, allocations: 267.1 kB / 0.8637 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.6947, allocations: 372.1 kB / 0.8641 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3212/1.016, allocations: 4.462 MB / 0.8684 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.016, allocations: 0.9127 MB / 0.8693 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005471/1.017, allocations: 115.4 kB / 0.8694 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.017, allocations: 192.3 kB / 0.8696 GB, free: 190 MB / 0.6856 GB Notification: Performance of SimCode: time 6.52e-07/1.017, allocations: 3.062 kB / 0.8696 GB, free: 190 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/1.07, allocations: 17.8 MB / 0.887 GB, free: 183 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.41, allocations: 18.81 kB / 0.887 GB, free: 183 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)