Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 103.9 kB / 16.36 MB, free: 6.305 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.001064/0.001064, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003717/0.2403, allocations: 2.257 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3938/0.6341, allocations: 0.9493 MB / 0.7879 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.6344, allocations: 1.844 kB / 0.7879 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.6351, allocations: 196.7 kB / 0.7881 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.6353, allocations: 66.77 kB / 0.7882 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.6357, allocations: 112.5 kB / 0.7883 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.6359, allocations: 227.3 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.6361, allocations: 89.05 kB / 0.7886 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.6362, allocations: 89.53 kB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.6363, allocations: 102.3 kB / 0.7888 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.6364, allocations: 16.09 kB / 0.7888 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.6367, allocations: 154.2 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.6368, allocations: 207.9 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.637, allocations: 266.1 kB / 0.7894 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.6375, allocations: 0.7274 MB / 0.7901 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6375, allocations: 0 / 0.7901 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6375, allocations: 0 / 0.7901 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.6375, allocations: 0.5938 kB / 0.7901 GB, free: 46.26 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009536/0.6385, allocations: 0.9771 MB / 0.791 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6386, allocations: 9.844 kB / 0.791 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.6391, allocations: 120.8 kB / 0.7912 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.6397, allocations: 0.5889 MB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.6398, allocations: 8.469 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.6398, allocations: 10.34 kB / 0.7918 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.6402, allocations: 197.9 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6402, allocations: 2.812 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.6402, allocations: 12.28 kB / 0.792 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6402, allocations: 3.156 kB / 0.792 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.6406, allocations: 226.2 kB / 0.7922 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.6416, allocations: 0.9175 MB / 0.7931 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.6422, allocations: 315.3 kB / 0.7934 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.6424, allocations: 102.6 kB / 0.7935 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.6431, allocations: 243.4 kB / 0.7937 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.6431, allocations: 34.56 kB / 0.7937 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/0.6431, allocations: 0 / 0.7937 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006892/0.6438, allocations: 404.4 kB / 0.7941 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.6438, allocations: 56.81 kB / 0.7942 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.6447, allocations: 1 MB / 0.7952 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6448, allocations: 25.7 kB / 0.7952 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.6449, allocations: 340.5 kB / 0.7955 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.645, allocations: 34.89 kB / 0.7955 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.645, allocations: 25.53 kB / 0.7956 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.6451, allocations: 309.2 kB / 0.7959 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.6453, allocations: 104.4 kB / 0.796 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.6455, allocations: 116.7 kB / 0.7961 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.6458, allocations: 222.6 kB / 0.7963 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6458, allocations: 0 / 0.7963 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000469/0.6463, allocations: 321.4 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6463, allocations: 7.891 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6464, allocations: 0 / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6464, allocations: 2.625 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6465, allocations: 26.2 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6466, allocations: 4.906 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.6467, allocations: 16.67 kB / 0.7966 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6467, allocations: 10.88 kB / 0.7967 GB, free: 43.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.6469, allocations: 244.9 kB / 0.7969 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.647, allocations: 76.66 kB / 0.797 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.6476, allocations: 325.1 kB / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6476, allocations: 2.781 kB / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6476, allocations: 0 / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6476, allocations: 0 / 0.7973 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.6481, allocations: 0.5298 MB / 0.7978 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6481, allocations: 4.938 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.6482, allocations: 21.17 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6482, allocations: 2.969 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6483, allocations: 0 / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6483, allocations: 1.922 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6483, allocations: 5.688 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.6488, allocations: 404 kB / 0.7982 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.649, allocations: 187.2 kB / 0.7984 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.649, allocations: 8.078 kB / 0.7984 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6492, allocations: 7.75 kB / 0.7984 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.6492, allocations: 9.984 kB / 0.7984 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6493, allocations: 5.266 kB / 0.7984 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007927/0.65, allocations: 0.7167 MB / 0.7991 GB, free: 43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6501, allocations: 0 / 0.7991 GB, free: 43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003701/0.6504, allocations: 66.94 kB / 0.7992 GB, free: 43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.6506, allocations: 111.8 kB / 0.7993 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.6511, allocations: 218.5 kB / 0.7995 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6511, allocations: 0 / 0.7995 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6513, allocations: 112 kB / 0.7996 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.6517, allocations: 55.25 kB / 0.7997 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.6536, allocations: 1.207 MB / 0.8008 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.654, allocations: 0.9466 MB / 0.8018 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.6541, allocations: 35.16 kB / 0.8018 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.6541, allocations: 0 / 0.8018 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.01573/0.6699, allocations: 7.186 MB / 0.8088 GB, free: 40.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)