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.001116/0.001116, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001048/0.001048, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002693/0.002693, allocations: 302.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9862/0.9862, allocations: 169.2 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 93.22 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1804, allocations: 86.98 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5253/0.7058, allocations: 171 MB / 0.8479 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006807/0.7127, allocations: 4.295 MB / 0.8521 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008168/0.7135, allocations: 19.88 kB / 0.8521 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.7147, allocations: 353.9 kB / 0.8524 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.7178, allocations: 1.225 MB / 0.8536 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.7199, allocations: 0.7814 MB / 0.8544 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.7221, allocations: 1.697 MB / 0.856 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.7231, allocations: 0.5611 MB / 0.8566 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.7245, allocations: 0.681 MB / 0.8573 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.7259, allocations: 0.5507 MB / 0.8578 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.7261, allocations: 68 kB / 0.8579 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.7279, allocations: 0.7912 MB / 0.8586 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.7282, allocations: 279.3 kB / 0.8589 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.7289, allocations: 406.3 kB / 0.8593 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.7308, allocations: 1.258 MB / 0.8605 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.7308, allocations: 7.938 kB / 0.8605 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7308, allocations: 0 / 0.8605 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.225e-05/0.7309, allocations: 0 / 0.8605 GB, free: 7.039 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.002166/0.733, allocations: 1.037 MB / 0.8615 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7331, allocations: 12.03 kB / 0.8615 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.7342, allocations: 159 kB / 0.8617 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.735, allocations: 0.5249 MB / 0.8622 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.7351, allocations: 41.25 kB / 0.8622 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.7352, allocations: 55.98 kB / 0.8623 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.7363, allocations: 0.6479 MB / 0.8629 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.7363, allocations: 0 / 0.8629 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.7364, allocations: 24 kB / 0.863 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.7365, allocations: 21.31 kB / 0.863 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/0.7374, allocations: 0.5164 MB / 0.8635 GB, free: 3.902 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.003388/0.7408, allocations: 2.313 MB / 0.8657 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.7414, allocations: 258.8 kB / 0.866 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.7416, allocations: 132.8 kB / 0.8661 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7417, allocations: 11.97 kB / 0.8661 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.7417, allocations: 42.5 kB / 0.8662 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.7417, allocations: 3.938 kB / 0.8662 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001692/0.7434, allocations: 0.6706 MB / 0.8668 GB, free: 252 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7435, allocations: 81.11 kB / 0.8669 GB, free: 152 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.7441, allocations: 0.5535 MB / 0.8674 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.7442, allocations: 33.7 kB / 0.8675 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.7444, allocations: 331.1 kB / 0.8678 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.7445, allocations: 78.92 kB / 0.8679 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.7447, allocations: 69.94 kB / 0.8679 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7448, allocations: 366.7 kB / 0.8683 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.7451, allocations: 128.6 kB / 0.8684 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.7454, allocations: 222.6 kB / 0.8686 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.746, allocations: 329.7 kB / 0.8689 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.746, allocations: 0 / 0.8689 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009223/0.7469, allocations: 0.4902 MB / 0.8694 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7469, allocations: 4 kB / 0.8694 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.747, allocations: 4 kB / 0.8694 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.7473, allocations: 101.8 kB / 0.8695 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.7476, allocations: 67.91 kB / 0.8696 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.7508, allocations: 3.33 MB / 0.8728 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.7513, allocations: 52.58 kB / 0.8729 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.7514, allocations: 20.06 kB / 0.8729 GB, free: 9.609 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.0002895/0.7517, allocations: 213.7 kB / 0.8731 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.7518, allocations: 63.27 kB / 0.8732 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.677e-05/0.7519, allocations: 52.5 kB / 0.8732 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7519, allocations: 4 kB / 0.8732 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7519, allocations: 0 / 0.8732 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007416/0.7527, allocations: 0.5344 MB / 0.8737 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.754, allocations: 0.9182 MB / 0.8746 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.754, allocations: 0 / 0.8746 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.7542, allocations: 44.22 kB / 0.8747 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.7545, allocations: 64.81 kB / 0.8747 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.7545, allocations: 15.88 kB / 0.8748 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.7562, allocations: 1.814 MB / 0.8765 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7562, allocations: 3.938 kB / 0.8765 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.7569, allocations: 435.6 kB / 0.8769 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.7571, allocations: 172.4 kB / 0.8771 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.7572, allocations: 7.938 kB / 0.8771 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.7577, allocations: 21 kB / 0.8771 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.7578, allocations: 19.97 kB / 0.8772 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.7578, allocations: 12.19 kB / 0.8772 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004582/0.7583, allocations: 402.8 kB / 0.8775 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7583, allocations: 0 / 0.8775 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006573/0.7589, allocations: 203.6 kB / 0.8777 GB, free: 4.312 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.0003765/0.7593, allocations: 167.3 kB / 0.8779 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009211/0.7603, allocations: 0.5444 MB / 0.8784 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7603, allocations: 7.75 kB / 0.8784 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.7607, allocations: 251.2 kB / 0.8787 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.7623, allocations: 374.7 kB / 0.879 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.764, allocations: 1.033 MB / 0.88 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.7645, allocations: 0.9054 MB / 0.8809 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7646, allocations: 39.44 kB / 0.881 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of SimCode: time 1.853e-06/0.7647, allocations: 0 / 0.881 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of Templates: time 0.0176/0.7823, allocations: 13.43 MB / 0.8941 GB, free: 3.613 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)