Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001552/0.001552, allocations: 110.6 kB / 15.99 MB, free: 6.348 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.001532/0.001532, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00266/0.002659, allocations: 283.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.231/1.231, allocations: 178.5 MB / 0.5076 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 95.84 kB / 0.6066 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.197, allocations: 89.13 MB / 0.6936 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4517/0.6488, allocations: 168.8 MB / 0.8584 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006869/0.6557, allocations: 4.269 MB / 0.8626 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.6565, allocations: 20.78 kB / 0.8626 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.6574, allocations: 307.2 kB / 0.8629 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.6604, allocations: 1.147 MB / 0.864 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.6622, allocations: 0.7399 MB / 0.8647 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.6641, allocations: 1.694 MB / 0.8664 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007154/0.6649, allocations: 0.5473 MB / 0.8669 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.666, allocations: 0.6853 MB / 0.8676 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.6672, allocations: 0.5953 MB / 0.8682 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.6674, allocations: 64 kB / 0.8682 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6689, allocations: 0.8339 MB / 0.8691 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.6692, allocations: 275.3 kB / 0.8693 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.6696, allocations: 410.2 kB / 0.8697 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.6708, allocations: 0.9511 MB / 0.8706 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6708, allocations: 3.938 kB / 0.8706 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6708, allocations: 0 / 0.8706 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.6709, allocations: 8 kB / 0.8707 GB, free: 5.379 MB / 0.6231 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.001771/0.6726, allocations: 1.032 MB / 0.8717 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6727, allocations: 12.03 kB / 0.8717 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.6737, allocations: 155.6 kB / 0.8718 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.6745, allocations: 0.5249 MB / 0.8723 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.6745, allocations: 49.23 kB / 0.8724 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.6746, allocations: 56 kB / 0.8724 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6757, allocations: 0.644 MB / 0.8731 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6758, allocations: 0 / 0.8731 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.6758, allocations: 28.5 kB / 0.8731 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.6759, allocations: 21.31 kB / 0.8731 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/0.6768, allocations: 0.5164 MB / 0.8736 GB, free: 2.238 MB / 0.6231 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.003313/0.6801, allocations: 2.305 MB / 0.8759 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.6806, allocations: 250.8 kB / 0.8761 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.6809, allocations: 139.8 kB / 0.8762 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.6809, allocations: 4 kB / 0.8762 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.681, allocations: 43 kB / 0.8763 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.681, allocations: 0 / 0.8763 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.00168/0.6827, allocations: 0.6698 MB / 0.8769 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.6827, allocations: 77.11 kB / 0.877 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/0.6834, allocations: 0.5614 MB / 0.8776 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.6835, allocations: 33.7 kB / 0.8776 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.6838, allocations: 335 kB / 0.8779 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.6838, allocations: 67.09 kB / 0.878 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.684, allocations: 73.92 kB / 0.878 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.6842, allocations: 362.7 kB / 0.8784 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.6844, allocations: 132.6 kB / 0.8785 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.6847, allocations: 214.7 kB / 0.8787 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.6853, allocations: 330.1 kB / 0.879 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6853, allocations: 4 kB / 0.879 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009199/0.6862, allocations: 0.4905 MB / 0.8795 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6863, allocations: 8.281 kB / 0.8795 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6863, allocations: 4 kB / 0.8795 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.6866, allocations: 94.53 kB / 0.8796 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6869, allocations: 71.89 kB / 0.8797 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.6903, allocations: 3.353 MB / 0.883 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.6908, allocations: 67.3 kB / 0.883 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.6909, allocations: 12 kB / 0.883 GB, free: 7.941 MB / 0.6387 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.0003316/0.6912, allocations: 225 kB / 0.8833 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.6913, allocations: 51.44 kB / 0.8833 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.6914, allocations: 56.5 kB / 0.8834 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6915, allocations: 4 kB / 0.8834 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6915, allocations: 3.438 kB / 0.8834 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000789/0.6923, allocations: 0.5402 MB / 0.8839 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.6936, allocations: 0.9104 MB / 0.8848 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6936, allocations: 0 / 0.8848 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.6939, allocations: 43.97 kB / 0.8848 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.6941, allocations: 68.81 kB / 0.8849 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.6942, allocations: 11.98 kB / 0.8849 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.696, allocations: 1.815 MB / 0.8867 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.696, allocations: 4.031 kB / 0.8867 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.6967, allocations: 436.3 kB / 0.8871 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6969, allocations: 172.3 kB / 0.8873 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.697, allocations: 7.938 kB / 0.8873 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.6975, allocations: 35.52 kB / 0.8873 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.6976, allocations: 27.91 kB / 0.8873 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.6976, allocations: 11.94 kB / 0.8873 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004853/0.6981, allocations: 402.8 kB / 0.8877 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6981, allocations: 0 / 0.8877 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007041/0.6988, allocations: 211.5 kB / 0.8879 GB, free: 2.625 MB / 0.6387 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.0004423/0.6993, allocations: 157.6 kB / 0.8881 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.7003, allocations: 0.5482 MB / 0.8886 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7003, allocations: 4.125 kB / 0.8886 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.7006, allocations: 250.6 kB / 0.8889 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.7022, allocations: 372.9 kB / 0.8892 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.7041, allocations: 1.235 MB / 0.8904 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.7047, allocations: 0.9132 MB / 0.8913 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.7048, allocations: 39.44 kB / 0.8913 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.7048, allocations: 0 / 0.8913 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.01944/0.7243, allocations: 13.43 MB / 0.9045 GB, free: 1.746 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)