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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00551/0.00551, allocations: 108.3 kB / 15.74 MB, free: 6.449 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.001264/0.001265, allocations: 196 kB / 16.67 MB, free: 6.355 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4556, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2027/0.6584, allocations: 171.1 MB / 0.8317 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.6658, allocations: 4.294 MB / 0.8359 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.6666, allocations: 19.88 kB / 0.8359 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.6677, allocations: 369.9 kB / 0.8362 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.6707, allocations: 1.256 MB / 0.8375 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.6728, allocations: 0.797 MB / 0.8382 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.6749, allocations: 1.695 MB / 0.8399 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.6757, allocations: 0.5543 MB / 0.8404 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.677, allocations: 0.7199 MB / 0.8411 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.6782, allocations: 0.5558 MB / 0.8417 GB, free: 11.67 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.6783, allocations: 64 kB / 0.8417 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.6799, allocations: 0.8029 MB / 0.8425 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.6802, allocations: 267.3 kB / 0.8428 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.6806, allocations: 410.2 kB / 0.8432 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.6825, allocations: 1.26 MB / 0.8444 GB, free: 8.879 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6825, allocations: 4 kB / 0.8444 GB, free: 8.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.936e-06/0.6825, allocations: 0 / 0.8444 GB, free: 8.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.6825, allocations: 7.938 kB / 0.8444 GB, free: 8.867 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.001838/0.6844, allocations: 1.033 MB / 0.8454 GB, free: 7.781 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6844, allocations: 12.03 kB / 0.8454 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.6855, allocations: 167 kB / 0.8456 GB, free: 7.605 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.6863, allocations: 0.5443 MB / 0.8461 GB, free: 7.023 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.6864, allocations: 49.31 kB / 0.8462 GB, free: 6.977 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.6865, allocations: 52 kB / 0.8462 GB, free: 6.926 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6879, allocations: 0.6479 MB / 0.8469 GB, free: 6.262 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6879, allocations: 0 / 0.8469 GB, free: 6.262 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.688, allocations: 28 kB / 0.8469 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.688, allocations: 21.31 kB / 0.8469 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.689, allocations: 0.5087 MB / 0.8474 GB, free: 5.703 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.00353/0.6925, allocations: 2.301 MB / 0.8496 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.6931, allocations: 250.8 kB / 0.8499 GB, free: 2.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.6934, allocations: 128.8 kB / 0.85 GB, free: 2.852 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.6934, allocations: 4 kB / 0.85 GB, free: 2.848 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.6934, allocations: 42.91 kB / 0.8501 GB, free: 2.797 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.6935, allocations: 0 / 0.8501 GB, free: 2.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001771/0.6952, allocations: 0.6709 MB / 0.8507 GB, free: 2.078 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.6953, allocations: 85.05 kB / 0.8508 GB, free: 1.977 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/0.6961, allocations: 0.5574 MB / 0.8513 GB, free: 1.406 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.6962, allocations: 37.64 kB / 0.8514 GB, free: 1.363 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.6964, allocations: 331.4 kB / 0.8517 GB, free: 1.035 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.6965, allocations: 75 kB / 0.8518 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.6966, allocations: 73.88 kB / 0.8518 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6968, allocations: 358.8 kB / 0.8522 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6971, allocations: 128.6 kB / 0.8523 GB, free: 408 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.6974, allocations: 215.5 kB / 0.8525 GB, free: 156 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.6979, allocations: 345.8 kB / 0.8528 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.698, allocations: 0 / 0.8528 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008857/0.6988, allocations: 0.4909 MB / 0.8533 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6989, allocations: 6.344 kB / 0.8533 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6989, allocations: 4 kB / 0.8533 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.6993, allocations: 93.39 kB / 0.8534 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.6996, allocations: 75.91 kB / 0.8535 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.7033, allocations: 3.351 MB / 0.8568 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.7038, allocations: 51.45 kB / 0.8568 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.7038, allocations: 12 kB / 0.8568 GB, free: 11.41 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.0003311/0.7042, allocations: 213.4 kB / 0.857 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.7043, allocations: 67.34 kB / 0.8571 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.732e-05/0.7044, allocations: 56.5 kB / 0.8571 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7044, allocations: 4 kB / 0.8571 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.7044, allocations: 3.938 kB / 0.8571 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009529/0.7054, allocations: 0.5228 MB / 0.8577 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7067, allocations: 0.9142 MB / 0.8585 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7067, allocations: 4 kB / 0.8585 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.7069, allocations: 43.92 kB / 0.8586 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.7071, allocations: 64.8 kB / 0.8587 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.7071, allocations: 8.062 kB / 0.8587 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.7091, allocations: 1.825 MB / 0.8604 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7091, allocations: 0 / 0.8604 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.7099, allocations: 447.8 kB / 0.8609 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.7101, allocations: 160.4 kB / 0.861 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.7102, allocations: 11.98 kB / 0.861 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.7106, allocations: 15.98 kB / 0.861 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.7107, allocations: 23.92 kB / 0.8611 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.7108, allocations: 11.98 kB / 0.8611 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004413/0.7112, allocations: 402.8 kB / 0.8615 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7112, allocations: 0 / 0.8615 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006266/0.7118, allocations: 203.7 kB / 0.8617 GB, free: 6.109 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.000478/0.7123, allocations: 161.6 kB / 0.8618 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009292/0.7133, allocations: 0.5252 MB / 0.8623 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7133, allocations: 4.062 kB / 0.8623 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.7137, allocations: 258.5 kB / 0.8626 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.7154, allocations: 376 kB / 0.8629 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.7172, allocations: 0.9832 MB / 0.8639 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.7179, allocations: 0.9131 MB / 0.8648 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004195/0.7183, allocations: 108.8 kB / 0.8649 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.7184, allocations: 43.44 kB / 0.8649 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/0.7184, allocations: 4 kB / 0.8649 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of Templates: time 0.3729/1.091, allocations: 13.11 MB / 0.8777 GB, free: 188.6 MB / 0.6856 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)