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.006828/0.006828, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.001644/0.001644, allocations: 186 kB / 16.67 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.92 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1775, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5988/0.7763, allocations: 171 MB / 0.8262 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006679/0.7831, allocations: 4.294 MB / 0.8304 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.7842, allocations: 22.88 kB / 0.8304 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.7853, allocations: 367.8 kB / 0.8308 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.789, allocations: 1.258 MB / 0.832 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.7912, allocations: 0.8003 MB / 0.8328 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.7936, allocations: 1.694 MB / 0.8344 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008184/0.7944, allocations: 0.5568 MB / 0.835 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.796, allocations: 0.7211 MB / 0.8357 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.7974, allocations: 0.5556 MB / 0.8362 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.7976, allocations: 65.44 kB / 0.8363 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.7997, allocations: 0.802 MB / 0.8371 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.8001, allocations: 269.9 kB / 0.8373 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006126/0.8007, allocations: 410.8 kB / 0.8377 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.8027, allocations: 1.273 MB / 0.839 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8027, allocations: 0.8438 kB / 0.839 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8027, allocations: 0 / 0.839 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.8027, allocations: 0.7812 kB / 0.839 GB, free: 2.594 MB / 0.6387 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.001884/0.8046, allocations: 1.061 MB / 0.84 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8047, allocations: 10.22 kB / 0.84 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.8048, allocations: 98.27 kB / 0.8401 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.8058, allocations: 162.9 kB / 0.8403 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.8067, allocations: 0.5474 MB / 0.8408 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.8067, allocations: 40.23 kB / 0.8408 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.8068, allocations: 51.56 kB / 0.8409 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.8079, allocations: 0.6573 MB / 0.8415 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.8079, allocations: 2.438 kB / 0.8415 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.808, allocations: 24.05 kB / 0.8416 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.808, allocations: 22.56 kB / 0.8416 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.8089, allocations: 0.513 MB / 0.8421 GB, free: 1.543 MB / 0.6387 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.003068/0.8119, allocations: 2.301 MB / 0.8443 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.8124, allocations: 259.1 kB / 0.8446 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.8127, allocations: 133 kB / 0.8447 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.8127, allocations: 6.188 kB / 0.8447 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8128, allocations: 38.09 kB / 0.8447 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.8128, allocations: 3.094 kB / 0.8447 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001678/0.8145, allocations: 0.6706 MB / 0.8454 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.8145, allocations: 81.39 kB / 0.8455 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.8152, allocations: 0.5633 MB / 0.846 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.8152, allocations: 31.77 kB / 0.8461 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.8155, allocations: 344.7 kB / 0.8464 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.8155, allocations: 70.47 kB / 0.8465 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8157, allocations: 75.14 kB / 0.8465 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8158, allocations: 357.9 kB / 0.8469 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.8161, allocations: 132.2 kB / 0.847 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.8164, allocations: 226.8 kB / 0.8472 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.8169, allocations: 327.1 kB / 0.8475 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8169, allocations: 2.281 kB / 0.8475 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008839/0.8178, allocations: 0.4999 MB / 0.848 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8179, allocations: 8.375 kB / 0.848 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8179, allocations: 0 / 0.848 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.8182, allocations: 101.3 kB / 0.8481 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.8185, allocations: 71.34 kB / 0.8482 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.8217, allocations: 3.338 MB / 0.8514 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.8223, allocations: 55.17 kB / 0.8515 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.8224, allocations: 8.938 kB / 0.8515 GB, free: 12.32 MB / 0.6544 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.0004053/0.8228, allocations: 228 kB / 0.8517 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8229, allocations: 60.59 kB / 0.8518 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.654e-05/0.823, allocations: 54.53 kB / 0.8518 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.823, allocations: 6.172 kB / 0.8518 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.823, allocations: 0 / 0.8518 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007096/0.8237, allocations: 0.5321 MB / 0.8524 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.8251, allocations: 0.9138 MB / 0.8533 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8251, allocations: 3.938 kB / 0.8533 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.8253, allocations: 41.31 kB / 0.8533 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.8255, allocations: 67.77 kB / 0.8534 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.8255, allocations: 5.938 kB / 0.8534 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.8272, allocations: 1.821 MB / 0.8551 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8272, allocations: 1.812 kB / 0.8551 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.8278, allocations: 443.2 kB / 0.8556 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.8281, allocations: 176.2 kB / 0.8557 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.8282, allocations: 0 / 0.8557 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.8287, allocations: 25.25 kB / 0.8558 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.8288, allocations: 21.55 kB / 0.8558 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.8288, allocations: 14.45 kB / 0.8558 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004853/0.8293, allocations: 401.1 kB / 0.8562 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8293, allocations: 1.094 kB / 0.8562 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007537/0.8301, allocations: 203.4 kB / 0.8564 GB, free: 9.684 MB / 0.6544 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.001215/0.8313, allocations: 1.027 MB / 0.8574 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.8322, allocations: 0.5398 MB / 0.8579 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8323, allocations: 4 kB / 0.8579 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.8326, allocations: 258.9 kB / 0.8582 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.8343, allocations: 373 kB / 0.8585 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.8402, allocations: 4.467 MB / 0.8629 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.8407, allocations: 0.9088 MB / 0.8638 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.8412, allocations: 107.3 kB / 0.8639 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.8414, allocations: 191.2 kB / 0.864 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.8414, allocations: 3.156 kB / 0.864 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.8913, allocations: 17.81 MB / 0.8814 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.73, allocations: 9.031 kB / 0.8814 GB, free: 1.848 MB / 0.6544 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)