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.001246/0.001246, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001216/0.001216, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.00202, allocations: 285.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8983/0.8983, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 95.39 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4711/0.6197, allocations: 171.1 MB / 0.8486 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006494/0.6262, allocations: 4.291 MB / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006717/0.6269, allocations: 23.88 kB / 0.8528 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009372/0.6278, allocations: 357.9 kB / 0.8532 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.6304, allocations: 1.221 MB / 0.8544 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.6322, allocations: 0.7876 MB / 0.8551 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.6339, allocations: 1.694 MB / 0.8568 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.6345, allocations: 0.5621 MB / 0.8574 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/0.6355, allocations: 0.6797 MB / 0.858 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.6366, allocations: 0.5557 MB / 0.8586 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.6367, allocations: 64 kB / 0.8586 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.638, allocations: 0.8029 MB / 0.8594 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.6383, allocations: 271.3 kB / 0.8597 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.6386, allocations: 410.2 kB / 0.8601 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.64, allocations: 1.262 MB / 0.8613 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.64, allocations: 0 / 0.8613 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.846e-06/0.64, allocations: 0 / 0.8613 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.64, allocations: 3.938 kB / 0.8613 GB, free: 6.461 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.001571/0.6416, allocations: 1.038 MB / 0.8623 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.6416, allocations: 8.031 kB / 0.8623 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.6426, allocations: 163 kB / 0.8625 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.6434, allocations: 0.5405 MB / 0.863 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.6434, allocations: 42.12 kB / 0.863 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.6435, allocations: 56 kB / 0.8631 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.6444, allocations: 0.6557 MB / 0.8637 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6445, allocations: 0 / 0.8637 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.6445, allocations: 20 kB / 0.8637 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.6446, allocations: 21.31 kB / 0.8638 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.6454, allocations: 0.5164 MB / 0.8643 GB, free: 3.305 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.003013/0.6484, allocations: 2.289 MB / 0.8665 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.6489, allocations: 250.8 kB / 0.8667 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.6491, allocations: 134.3 kB / 0.8669 GB, free: 476 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.6492, allocations: 7.984 kB / 0.8669 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6492, allocations: 49.94 kB / 0.8669 GB, free: 412 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.6492, allocations: 0 / 0.8669 GB, free: 412 kB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001521/0.6507, allocations: 0.6743 MB / 0.8676 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.6508, allocations: 81.11 kB / 0.8677 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.6514, allocations: 0.5574 MB / 0.8682 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.6514, allocations: 33.7 kB / 0.8682 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.6516, allocations: 331.1 kB / 0.8686 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.6517, allocations: 70.94 kB / 0.8686 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.6518, allocations: 73.88 kB / 0.8687 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6519, allocations: 362.7 kB / 0.869 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.6522, allocations: 128.6 kB / 0.8692 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.6525, allocations: 218.6 kB / 0.8694 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.6529, allocations: 325.7 kB / 0.8697 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6529, allocations: 4 kB / 0.8697 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008078/0.6538, allocations: 0.4906 MB / 0.8702 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6538, allocations: 8.281 kB / 0.8702 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6538, allocations: 4 kB / 0.8702 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.6541, allocations: 97.64 kB / 0.8703 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.6544, allocations: 67.91 kB / 0.8703 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.6571, allocations: 3.343 MB / 0.8736 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.6575, allocations: 51.53 kB / 0.8737 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.6576, allocations: 19.92 kB / 0.8737 GB, free: 9.035 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.0002455/0.6578, allocations: 217.7 kB / 0.8739 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.6579, allocations: 55.34 kB / 0.8739 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.658, allocations: 56.44 kB / 0.874 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.658, allocations: 4 kB / 0.874 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.658, allocations: 0 / 0.874 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006427/0.6587, allocations: 0.5328 MB / 0.8745 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.6599, allocations: 0.924 MB / 0.8754 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6599, allocations: 4.062 kB / 0.8754 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.6601, allocations: 35.98 kB / 0.8754 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.6603, allocations: 64.8 kB / 0.8755 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6603, allocations: 8 kB / 0.8755 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.6618, allocations: 1.815 MB / 0.8773 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6618, allocations: 8.016 kB / 0.8773 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.6624, allocations: 441.3 kB / 0.8777 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.6626, allocations: 168.4 kB / 0.8779 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.6627, allocations: 8.797 kB / 0.8779 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.6631, allocations: 25.2 kB / 0.8779 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.6632, allocations: 19.92 kB / 0.8779 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.6633, allocations: 15.98 kB / 0.8779 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003999/0.6637, allocations: 398.8 kB / 0.8783 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6637, allocations: 0 / 0.8783 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005808/0.6643, allocations: 207.6 kB / 0.8785 GB, free: 3.734 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.0003327/0.6646, allocations: 167.9 kB / 0.8787 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.6654, allocations: 0.5249 MB / 0.8792 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6654, allocations: 3.75 kB / 0.8792 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.6658, allocations: 259.1 kB / 0.8794 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6672, allocations: 366 kB / 0.8798 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6685, allocations: 0.9841 MB / 0.8808 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.669, allocations: 0.9093 MB / 0.8816 GB, free: 460 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003366/0.6693, allocations: 116.8 kB / 0.8818 GB, free: 340 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.6694, allocations: 35.44 kB / 0.8818 GB, free: 308 kB / 0.6387 GB Notification: Performance of SimCode: time 4.7e-07/0.6694, allocations: 0 / 0.8818 GB, free: 308 kB / 0.6387 GB Notification: Performance of Templates: time 0.01859/0.688, allocations: 13.02 MB / 0.8945 GB, free: 3.535 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)