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.001206/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001433/0.001433, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.706/1.706, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.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.684/1.684, allocations: 292.2 MB / 0.5485 GB, free: 13.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.002516/0.002516, allocations: 69.45 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.255, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004206/0.2592, allocations: 2.313 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2606, allocations: 0.9309 MB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.2607, allocations: 4 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.2613, allocations: 183.5 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2614, allocations: 55.62 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.2618, allocations: 103.8 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.2621, allocations: 223.2 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2623, allocations: 101.5 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2624, allocations: 87.53 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2625, allocations: 103.4 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2625, allocations: 16 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.2628, allocations: 155.8 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.263, allocations: 215.3 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2632, allocations: 262.1 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.2638, allocations: 0.7043 MB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2639, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2639, allocations: 4 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2639, allocations: 0 / 0.7882 GB, free: 8.438 MB / 0.6075 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.001154/0.265, allocations: 0.9824 MB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2651, allocations: 8.031 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.2656, allocations: 115.9 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.2663, allocations: 0.5895 MB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2664, allocations: 8.375 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.2664, allocations: 12.31 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.2668, allocations: 194.2 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2668, allocations: 192 / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2668, allocations: 11.94 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2668, allocations: 0 / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.2673, allocations: 231.9 kB / 0.7902 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2683, allocations: 0.9138 MB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.269, allocations: 322.4 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2692, allocations: 105 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.2699, allocations: 248.9 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2699, allocations: 34.56 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.2699, allocations: 0 / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007786/0.2707, allocations: 408.5 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2708, allocations: 51.41 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2719, allocations: 0.9974 MB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.272, allocations: 26.08 kB / 0.7933 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.2722, allocations: 347.9 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2723, allocations: 27.55 kB / 0.7936 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.2723, allocations: 29.7 kB / 0.7936 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2725, allocations: 317.9 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.2727, allocations: 95.95 kB / 0.794 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2729, allocations: 118.5 kB / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.2733, allocations: 218.4 kB / 0.7944 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2733, allocations: 0 / 0.7944 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000548/0.2739, allocations: 320.5 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2739, allocations: 4 kB / 0.7947 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2739, allocations: 4 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2739, allocations: 0 / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2741, allocations: 35.97 kB / 0.7947 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2741, allocations: 3.984 kB / 0.7947 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2743, allocations: 11.91 kB / 0.7947 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2743, allocations: 11.92 kB / 0.7947 GB, free: 1.434 MB / 0.6075 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.0002567/0.2746, allocations: 242.4 kB / 0.795 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.2747, allocations: 75 kB / 0.795 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.2753, allocations: 332.4 kB / 0.7954 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2753, allocations: 4 kB / 0.7954 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2753, allocations: 0 / 0.7954 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2753, allocations: 0 / 0.7954 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.2758, allocations: 0.5246 MB / 0.7959 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2758, allocations: 8.125 kB / 0.7959 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.276, allocations: 23.97 kB / 0.7959 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.276, allocations: 3.938 kB / 0.7959 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.276, allocations: 3.938 kB / 0.7959 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.276, allocations: 4 kB / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.276, allocations: 0 / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.2766, allocations: 398.6 kB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.2768, allocations: 192 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.2769, allocations: 4 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2771, allocations: 7.984 kB / 0.7965 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2771, allocations: 4 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2771, allocations: 4 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009783/0.2781, allocations: 0.7254 MB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2781, allocations: 0 / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004227/0.2786, allocations: 67.84 kB / 0.7973 GB, free: 14.73 MB / 0.6231 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.0002894/0.2789, allocations: 119.2 kB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.2794, allocations: 207.8 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2794, allocations: 0 / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2796, allocations: 116 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.2801, allocations: 51.25 kB / 0.7977 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.282, allocations: 1.331 MB / 0.799 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.2827, allocations: 0.9556 MB / 0.8 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.283, allocations: 73.33 kB / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.2831, allocations: 35.38 kB / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.2831, allocations: 0 / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.009377/0.2925, allocations: 4.359 MB / 0.8043 GB, free: 7.438 MB / 0.6231 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)