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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7593/0.7593, allocations: 133.3 MB / 150.1 MB, free: 11.19 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 404.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.8 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001083, allocations: 47.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1423, allocations: 80.43 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4715/0.6139, allocations: 168.8 MB / 0.807 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00638/0.6203, allocations: 4.347 MB / 0.8112 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.6211, allocations: 23.88 kB / 0.8113 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.622, allocations: 306.5 kB / 0.8115 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.6247, allocations: 1.14 MB / 0.8127 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.6267, allocations: 0.7213 MB / 0.8134 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.6294, allocations: 2.368 MB / 0.8157 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000807/0.6303, allocations: 483.1 kB / 0.8161 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.6314, allocations: 0.599 MB / 0.8167 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.6326, allocations: 0.5769 MB / 0.8173 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.6327, allocations: 32 kB / 0.8173 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.6343, allocations: 0.9195 MB / 0.8182 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.6345, allocations: 239.3 kB / 0.8184 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.6349, allocations: 374.2 kB / 0.8188 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.6364, allocations: 1.278 MB / 0.82 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6364, allocations: 0 / 0.82 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6365, allocations: 0 / 0.82 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6365, allocations: 0 / 0.82 GB, free: 11.04 MB / 0.5573 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.001746/0.6382, allocations: 1.04 MB / 0.8211 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6383, allocations: 11.97 kB / 0.8211 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.6392, allocations: 167 kB / 0.8212 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008277/0.64, allocations: 0.521 MB / 0.8217 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.6401, allocations: 37.31 kB / 0.8218 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.6402, allocations: 52 kB / 0.8218 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.6412, allocations: 0.6596 MB / 0.8225 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6412, allocations: 0 / 0.8225 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.6413, allocations: 31.94 kB / 0.8225 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.6413, allocations: 29.28 kB / 0.8225 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.6422, allocations: 0.5087 MB / 0.823 GB, free: 7.871 MB / 0.5573 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.003151/0.6454, allocations: 2.301 MB / 0.8253 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.6459, allocations: 258.7 kB / 0.8255 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.6461, allocations: 133.1 kB / 0.8256 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.6462, allocations: 11.95 kB / 0.8257 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.6462, allocations: 38.55 kB / 0.8257 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.6462, allocations: 0 / 0.8257 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20): time 0.001586/0.6478, allocations: 0.6742 MB / 0.8264 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.6479, allocations: 81.05 kB / 0.8264 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.6485, allocations: 0.5613 MB / 0.827 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.6485, allocations: 25.7 kB / 0.827 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.6488, allocations: 339.4 kB / 0.8273 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.6488, allocations: 67 kB / 0.8274 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.649, allocations: 69.94 kB / 0.8275 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6491, allocations: 370.7 kB / 0.8278 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.6494, allocations: 132.6 kB / 0.8279 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6497, allocations: 223.5 kB / 0.8281 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.6502, allocations: 336.9 kB / 0.8285 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6502, allocations: 4 kB / 0.8285 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008653/0.6511, allocations: 490.6 kB / 0.8289 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6511, allocations: 8 kB / 0.8289 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6511, allocations: 4 kB / 0.829 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.6514, allocations: 93.73 kB / 0.829 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.6517, allocations: 75.91 kB / 0.8291 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.6545, allocations: 3.102 MB / 0.8321 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.6551, allocations: 63.36 kB / 0.8322 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.6552, allocations: 15.98 kB / 0.8322 GB, free: 13.8 MB / 0.573 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.000305/0.6555, allocations: 225.7 kB / 0.8324 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6556, allocations: 55.34 kB / 0.8325 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.6557, allocations: 52.69 kB / 0.8325 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6557, allocations: 4 kB / 0.8325 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6557, allocations: 7.938 kB / 0.8325 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007765/0.6565, allocations: 0.5306 MB / 0.8331 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6578, allocations: 0.9153 MB / 0.834 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6578, allocations: 0 / 0.834 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.658, allocations: 35.98 kB / 0.834 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.6582, allocations: 72.8 kB / 0.8341 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6582, allocations: 8 kB / 0.8341 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6598, allocations: 1.692 MB / 0.8357 GB, free: 9.934 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6598, allocations: 0 / 0.8357 GB, free: 9.934 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6609, allocations: 1.196 MB / 0.8369 GB, free: 8.672 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.6612, allocations: 168.3 kB / 0.8371 GB, free: 8.488 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.6613, allocations: 8.188 kB / 0.8371 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.6617, allocations: 39.91 kB / 0.8371 GB, free: 8.441 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.6618, allocations: 15.92 kB / 0.8371 GB, free: 8.426 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.6619, allocations: 15.98 kB / 0.8371 GB, free: 8.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004439/0.6623, allocations: 402.8 kB / 0.8375 GB, free: 8.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6623, allocations: 0 / 0.8375 GB, free: 8.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007211/0.6631, allocations: 207.5 kB / 0.8377 GB, free: 7.816 MB / 0.573 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.0003537/0.6634, allocations: 163.5 kB / 0.8379 GB, free: 7.656 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008724/0.6643, allocations: 0.5257 MB / 0.8384 GB, free: 7.105 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6643, allocations: 7.75 kB / 0.8384 GB, free: 7.098 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.6647, allocations: 251.2 kB / 0.8386 GB, free: 6.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.6664, allocations: 349.9 kB / 0.839 GB, free: 6.504 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.6681, allocations: 1.395 MB / 0.8403 GB, free: 5.074 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.6685, allocations: 0.9132 MB / 0.8412 GB, free: 4.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004522/0.669, allocations: 109.8 kB / 0.8413 GB, free: 4.023 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.6691, allocations: 35.44 kB / 0.8414 GB, free: 3.988 MB / 0.573 GB Notification: Performance of SimCode: time 4.41e-07/0.6691, allocations: 0 / 0.8414 GB, free: 3.988 MB / 0.573 GB Notification: Performance of Templates: time 0.02028/0.6894, allocations: 12.7 MB / 0.8538 GB, free: 7.445 MB / 0.5886 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)