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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006901/0.006901, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001422/0.001422, allocations: 197 kB / 16.68 MB, free: 5.98 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8176/0.8176, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.84 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5031, allocations: 80.2 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2033/0.7065, allocations: 171.1 MB / 0.8267 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0062/0.7127, allocations: 4.282 MB / 0.8309 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.7134, allocations: 23.88 kB / 0.8309 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.7145, allocations: 373.9 kB / 0.8313 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.7173, allocations: 1.256 MB / 0.8325 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.7194, allocations: 0.8046 MB / 0.8333 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.7217, allocations: 1.695 MB / 0.8349 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.7224, allocations: 0.5582 MB / 0.8355 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.7236, allocations: 0.7162 MB / 0.8362 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.7247, allocations: 0.5623 MB / 0.8367 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.7248, allocations: 64 kB / 0.8368 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.7265, allocations: 0.8029 MB / 0.8376 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.7268, allocations: 263.3 kB / 0.8378 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.7272, allocations: 410.3 kB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.7289, allocations: 1.272 MB / 0.8395 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7289, allocations: 0 / 0.8395 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7289, allocations: 0 / 0.8395 GB, free: 13.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.729, allocations: 0 / 0.8395 GB, free: 13.52 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.001792/0.7308, allocations: 1.034 MB / 0.8405 GB, free: 12.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7308, allocations: 8.031 kB / 0.8405 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.7318, allocations: 167 kB / 0.8406 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.7326, allocations: 0.556 MB / 0.8412 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.7326, allocations: 37.31 kB / 0.8412 GB, free: 11.63 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.7327, allocations: 56 kB / 0.8413 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7338, allocations: 0.6401 MB / 0.8419 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.7338, allocations: 3.938 kB / 0.8419 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.7339, allocations: 24 kB / 0.8419 GB, free: 10.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.734, allocations: 29.3 kB / 0.8419 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.7348, allocations: 0.5126 MB / 0.8424 GB, free: 10.35 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.003024/0.7379, allocations: 2.293 MB / 0.8447 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.7384, allocations: 258.8 kB / 0.8449 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.7386, allocations: 136.8 kB / 0.8451 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.7387, allocations: 352 / 0.8451 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7387, allocations: 38.56 kB / 0.8451 GB, free: 7.445 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.7387, allocations: 0 / 0.8451 GB, free: 7.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.00163/0.7403, allocations: 0.6703 MB / 0.8458 GB, free: 6.727 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.7404, allocations: 81.05 kB / 0.8458 GB, free: 6.629 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.741, allocations: 0.5574 MB / 0.8464 GB, free: 6.059 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.741, allocations: 29.7 kB / 0.8464 GB, free: 6.023 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.7413, allocations: 335.4 kB / 0.8467 GB, free: 5.691 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.7413, allocations: 74.98 kB / 0.8468 GB, free: 5.617 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.7415, allocations: 69.94 kB / 0.8469 GB, free: 5.543 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7416, allocations: 362.8 kB / 0.8472 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.7419, allocations: 132.6 kB / 0.8473 GB, free: 5.051 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.7422, allocations: 232 kB / 0.8476 GB, free: 4.789 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.7427, allocations: 333.6 kB / 0.8479 GB, free: 4.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7427, allocations: 0 / 0.8479 GB, free: 4.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008971/0.7436, allocations: 498.3 kB / 0.8483 GB, free: 3.934 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7437, allocations: 11.98 kB / 0.8484 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7437, allocations: 0 / 0.8484 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.744, allocations: 101.8 kB / 0.8485 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.7443, allocations: 71.91 kB / 0.8485 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.7473, allocations: 3.336 MB / 0.8518 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.7478, allocations: 55.45 kB / 0.8518 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.7479, allocations: 12 kB / 0.8518 GB, free: 56 kB / 0.67 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.0003161/0.7482, allocations: 218.5 kB / 0.8521 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.7483, allocations: 55.34 kB / 0.8521 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.7484, allocations: 60.44 kB / 0.8522 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7484, allocations: 4 kB / 0.8522 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7484, allocations: 0 / 0.8522 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006874/0.7491, allocations: 0.5267 MB / 0.8527 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.7503, allocations: 0.9143 MB / 0.8536 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7504, allocations: 0 / 0.8536 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.7506, allocations: 43.91 kB / 0.8536 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.7508, allocations: 68.88 kB / 0.8537 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.7508, allocations: 7.984 kB / 0.8537 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.7524, allocations: 1.825 MB / 0.8555 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7525, allocations: 7.984 kB / 0.8555 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.7531, allocations: 435.7 kB / 0.8559 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.7534, allocations: 168.4 kB / 0.8561 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.7534, allocations: 4 kB / 0.8561 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.7539, allocations: 21.86 kB / 0.8561 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.754, allocations: 23.91 kB / 0.8561 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.7541, allocations: 11.98 kB / 0.8561 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004757/0.7545, allocations: 402.8 kB / 0.8565 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7545, allocations: 0 / 0.8565 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000678/0.7552, allocations: 199.7 kB / 0.8567 GB, free: 10.77 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.0004219/0.7557, allocations: 171.9 kB / 0.8569 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.7567, allocations: 0.536 MB / 0.8574 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7567, allocations: 0 / 0.8574 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.7571, allocations: 254.5 kB / 0.8576 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.7588, allocations: 375.2 kB / 0.858 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.7607, allocations: 0.9764 MB / 0.8589 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.7613, allocations: 0.9053 MB / 0.8598 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004812/0.7618, allocations: 116.8 kB / 0.8599 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.7619, allocations: 39.44 kB / 0.86 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.7619, allocations: 0 / 0.86 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of Templates: time 0.403/1.165, allocations: 13.13 MB / 0.8728 GB, free: 192.7 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)