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.004338/0.004338, allocations: 99 kB / 15.73 MB, free: 6.441 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.001279/0.001279, allocations: 196.4 kB / 16.67 MB, free: 6.352 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: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7888/0.7888, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.78 kB / 0.5808 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1504, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5147/0.6651, allocations: 171 MB / 0.8262 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005426/0.6706, allocations: 4.293 MB / 0.8304 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.6712, allocations: 24.84 kB / 0.8304 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.6721, allocations: 352.7 kB / 0.8308 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.6746, allocations: 1.222 MB / 0.832 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.6763, allocations: 0.7891 MB / 0.8327 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.678, allocations: 1.688 MB / 0.8344 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.6786, allocations: 0.5556 MB / 0.8349 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008979/0.6795, allocations: 0.6942 MB / 0.8356 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.6806, allocations: 0.5533 MB / 0.8361 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.6807, allocations: 65.88 kB / 0.8362 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.6821, allocations: 0.7957 MB / 0.837 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.6823, allocations: 270.8 kB / 0.8372 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.6827, allocations: 408.9 kB / 0.8376 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.6841, allocations: 1.277 MB / 0.8389 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6841, allocations: 2.281 kB / 0.8389 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6841, allocations: 0 / 0.8389 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.6841, allocations: 0.875 kB / 0.8389 GB, free: 2.617 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.001456/0.6856, allocations: 1.057 MB / 0.8399 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6856, allocations: 9.719 kB / 0.8399 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.6857, allocations: 100.8 kB / 0.84 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/0.6866, allocations: 168.2 kB / 0.8402 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.6873, allocations: 0.5428 MB / 0.8407 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.6874, allocations: 41.53 kB / 0.8407 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.6874, allocations: 52.03 kB / 0.8408 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009099/0.6883, allocations: 0.6519 MB / 0.8414 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6884, allocations: 0.75 kB / 0.8414 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.6884, allocations: 24.33 kB / 0.8415 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.6885, allocations: 25.12 kB / 0.8415 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.6892, allocations: 0.5143 MB / 0.842 GB, free: 1.57 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.002592/0.6918, allocations: 2.3 MB / 0.8442 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.6923, allocations: 262.1 kB / 0.8445 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.6925, allocations: 129.9 kB / 0.8446 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6925, allocations: 3.469 kB / 0.8446 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6926, allocations: 40.5 kB / 0.8446 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.6926, allocations: 0.6562 kB / 0.8446 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001485/0.6941, allocations: 0.6737 MB / 0.8453 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.6941, allocations: 85.14 kB / 0.8454 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.6947, allocations: 0.5619 MB / 0.8459 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.6947, allocations: 32.92 kB / 0.846 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.6949, allocations: 346 kB / 0.8463 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.6949, allocations: 69.44 kB / 0.8464 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.695, allocations: 72.33 kB / 0.8464 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6952, allocations: 359.1 kB / 0.8468 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.6954, allocations: 132.4 kB / 0.8469 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.6957, allocations: 223.4 kB / 0.8471 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.6961, allocations: 333.1 kB / 0.8474 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6962, allocations: 0 / 0.8474 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007899/0.697, allocations: 0.5007 MB / 0.8479 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.697, allocations: 7.344 kB / 0.8479 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.697, allocations: 4.438 kB / 0.8479 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.6973, allocations: 93.12 kB / 0.848 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.6976, allocations: 69.72 kB / 0.8481 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.7004, allocations: 3.334 MB / 0.8513 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.7009, allocations: 54.06 kB / 0.8514 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.7009, allocations: 11.75 kB / 0.8514 GB, free: 12.36 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.0002403/0.7012, allocations: 228.6 kB / 0.8516 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.7013, allocations: 63.67 kB / 0.8517 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.7014, allocations: 51.03 kB / 0.8517 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7014, allocations: 4.719 kB / 0.8517 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.7014, allocations: 0.9062 kB / 0.8517 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006789/0.7021, allocations: 0.5338 MB / 0.8523 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7032, allocations: 0.9073 MB / 0.8531 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7032, allocations: 7.031 kB / 0.8531 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.7034, allocations: 42.47 kB / 0.8532 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.7036, allocations: 65.56 kB / 0.8533 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.7036, allocations: 8.812 kB / 0.8533 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.7052, allocations: 1.821 MB / 0.855 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.7052, allocations: 10.45 kB / 0.855 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.7058, allocations: 437.8 kB / 0.8555 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.706, allocations: 175.3 kB / 0.8556 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.7061, allocations: 3.344 kB / 0.8556 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.7065, allocations: 25.39 kB / 0.8557 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.7066, allocations: 21.92 kB / 0.8557 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.7066, allocations: 11.2 kB / 0.8557 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003776/0.707, allocations: 403.6 kB / 0.8561 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.707, allocations: 1.203 kB / 0.8561 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005783/0.7076, allocations: 201.7 kB / 0.8563 GB, free: 9.711 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.001181/0.7088, allocations: 1.028 MB / 0.8573 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.7096, allocations: 0.5349 MB / 0.8578 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7096, allocations: 4.688 kB / 0.8578 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.71, allocations: 258.4 kB / 0.858 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.7115, allocations: 378.9 kB / 0.8584 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.7167, allocations: 4.476 MB / 0.8628 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.7172, allocations: 0.9056 MB / 0.8637 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.7176, allocations: 107 kB / 0.8638 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.7178, allocations: 192 kB / 0.8639 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.7178, allocations: 0 / 0.8639 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4988/1.217, allocations: 17.82 MB / 0.8813 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.93, allocations: 3.938 kB / 0.8814 GB, free: 1.875 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 & /home/hudson/saved_omc/OMSimulator/install/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)