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.001083/0.001083, allocations: 106.4 kB / 16.35 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.001127/0.001127, allocations: 197.3 kB / 17.29 MB, free: 5.93 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.936/1.936, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001459/0.00146, allocations: 71.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003218/0.2187, allocations: 2.255 MB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3716/0.5904, allocations: 0.9385 MB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.5907, allocations: 2.125 kB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.5914, allocations: 201.6 kB / 0.7881 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.5916, allocations: 66.11 kB / 0.7882 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.5919, allocations: 115.3 kB / 0.7883 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.5922, allocations: 223.6 kB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.5923, allocations: 88.42 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.5925, allocations: 88.23 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.5926, allocations: 102.7 kB / 0.7887 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.5926, allocations: 17.5 kB / 0.7888 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.5929, allocations: 151.8 kB / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.593, allocations: 211.9 kB / 0.7891 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.5932, allocations: 264.8 kB / 0.7894 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.5937, allocations: 0.7216 MB / 0.7901 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5937, allocations: 1.688 kB / 0.7901 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5937, allocations: 0 / 0.7901 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5937, allocations: 0 / 0.7901 GB, free: 46.17 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.000972/0.5947, allocations: 0.9841 MB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5948, allocations: 8.562 kB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.5953, allocations: 121.3 kB / 0.7911 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.5959, allocations: 0.5844 MB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5959, allocations: 10.34 kB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.596, allocations: 14.22 kB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.5963, allocations: 196.5 kB / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5964, allocations: 192 / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.5964, allocations: 9.75 kB / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5964, allocations: 3.969 kB / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.5968, allocations: 227.9 kB / 0.7922 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5978, allocations: 0.9199 MB / 0.7931 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.5984, allocations: 315 kB / 0.7934 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.5986, allocations: 109.4 kB / 0.7935 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.5993, allocations: 239.7 kB / 0.7937 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.5993, allocations: 31.45 kB / 0.7937 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.5993, allocations: 3.188 kB / 0.7937 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0007345/0.6001, allocations: 404.5 kB / 0.7941 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.6001, allocations: 52.77 kB / 0.7942 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.601, allocations: 0.9965 MB / 0.7951 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6011, allocations: 25.7 kB / 0.7952 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.6013, allocations: 342.9 kB / 0.7955 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.6013, allocations: 35.22 kB / 0.7955 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.6013, allocations: 26.59 kB / 0.7955 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.6014, allocations: 313.8 kB / 0.7958 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.6016, allocations: 102 kB / 0.7959 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.6018, allocations: 123.3 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.6021, allocations: 214.3 kB / 0.7963 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6021, allocations: 0 / 0.7963 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005146/0.6027, allocations: 330.7 kB / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6027, allocations: 5.625 kB / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6027, allocations: 0 / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6027, allocations: 0 / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.6029, allocations: 28.92 kB / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6029, allocations: 2.906 kB / 0.7966 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.6031, allocations: 17.02 kB / 0.7966 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.6031, allocations: 2.812 kB / 0.7966 GB, free: 43.73 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.0001949/0.6033, allocations: 251.7 kB / 0.7969 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.6034, allocations: 72.97 kB / 0.7969 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/0.604, allocations: 331.2 kB / 0.7973 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.604, allocations: 2.625 kB / 0.7973 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.604, allocations: 0 / 0.7973 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.604, allocations: 3.984 kB / 0.7973 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.6045, allocations: 0.523 MB / 0.7978 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6046, allocations: 3.938 kB / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.6047, allocations: 22.31 kB / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6047, allocations: 0.6094 kB / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.6047, allocations: 2.875 kB / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6047, allocations: 0 / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6048, allocations: 4 kB / 0.7978 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.6052, allocations: 402.5 kB / 0.7982 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.6054, allocations: 189.2 kB / 0.7984 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.6055, allocations: 12.39 kB / 0.7984 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.6057, allocations: 7.281 kB / 0.7984 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.6057, allocations: 12.84 kB / 0.7984 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.6058, allocations: 3.188 kB / 0.7984 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008625/0.6066, allocations: 0.719 MB / 0.7991 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6066, allocations: 0 / 0.7991 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003758/0.607, allocations: 64.17 kB / 0.7992 GB, free: 42.88 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.0001876/0.6072, allocations: 117.7 kB / 0.7993 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.6077, allocations: 210.8 kB / 0.7995 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6077, allocations: 0 / 0.7995 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6079, allocations: 113.6 kB / 0.7996 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.6084, allocations: 55.06 kB / 0.7996 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.61, allocations: 1.146 MB / 0.8008 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.6105, allocations: 0.9436 MB / 0.8017 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.6107, allocations: 82.14 kB / 0.8018 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.6108, allocations: 33.14 kB / 0.8018 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6108, allocations: 0 / 0.8018 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.0128/0.6236, allocations: 4.394 MB / 0.8061 GB, free: 41.13 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)