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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001346/0.001346, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.755/1.755, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005344/0.0005345, allocations: 19.22 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2572, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00268/0.26, allocations: 1.893 MB / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2614, allocations: 0.8762 MB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2616, allocations: 4 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.2621, allocations: 171 kB / 0.7903 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.2623, allocations: 67.61 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.2626, allocations: 79.83 kB / 0.7904 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2629, allocations: 191.1 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2631, allocations: 73.88 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2632, allocations: 71.59 kB / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.2633, allocations: 91.5 kB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2634, allocations: 4 kB / 0.7908 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2637, allocations: 139.8 kB / 0.791 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.2639, allocations: 191.5 kB / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.264, allocations: 125.3 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.2645, allocations: 0.5454 MB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2645, allocations: 0 / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2645, allocations: 0 / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.2645, allocations: 4 kB / 0.7918 GB, free: 7.297 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.001215/0.2657, allocations: 0.8856 MB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2658, allocations: 8.031 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.2658, allocations: 46.55 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.2664, allocations: 126.9 kB / 0.7928 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.2672, allocations: 0.5577 MB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2673, allocations: 8 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.2673, allocations: 12 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2677, allocations: 189.6 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2677, allocations: 0 / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2677, allocations: 8 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2677, allocations: 4 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2682, allocations: 227.8 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2695, allocations: 0.9255 MB / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.2701, allocations: 310.4 kB / 0.795 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2703, allocations: 112.9 kB / 0.7951 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.2711, allocations: 396.7 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2712, allocations: 30.56 kB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2712, allocations: 0 / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007478/0.2719, allocations: 404.5 kB / 0.7959 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.272, allocations: 51.41 kB / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2732, allocations: 0.9977 MB / 0.7969 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2732, allocations: 25.7 kB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.2735, allocations: 344 kB / 0.7973 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.2736, allocations: 27.56 kB / 0.7973 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.2736, allocations: 3.938 kB / 0.7973 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2737, allocations: 314 kB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2739, allocations: 95.95 kB / 0.7977 GB, free: 1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.2741, allocations: 126.5 kB / 0.7978 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2743, allocations: 99.91 kB / 0.7979 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2743, allocations: 0 / 0.7979 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005141/0.2748, allocations: 316.6 kB / 0.7982 GB, free: 464 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2748, allocations: 4 kB / 0.7982 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2748, allocations: 0 / 0.7982 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2748, allocations: 4 kB / 0.7982 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.275, allocations: 31.97 kB / 0.7983 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.275, allocations: 8 kB / 0.7983 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.2752, allocations: 11.94 kB / 0.7983 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2752, allocations: 7.953 kB / 0.7983 GB, free: 396 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.2755, allocations: 245.7 kB / 0.7985 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.2756, allocations: 71.06 kB / 0.7986 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.2762, allocations: 340.4 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2762, allocations: 0 / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2762, allocations: 0 / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2762, allocations: 4 kB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.2768, allocations: 0.5245 MB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2768, allocations: 0 / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.2769, allocations: 23.97 kB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2769, allocations: 3.938 kB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.277, allocations: 8.188 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.277, allocations: 4 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.277, allocations: 3.938 kB / 0.7995 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.2775, allocations: 402.4 kB / 0.7999 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.2778, allocations: 188.1 kB / 0.8 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.2778, allocations: 4 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.278, allocations: 4 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.2781, allocations: 7.922 kB / 0.8001 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2781, allocations: 4 kB / 0.8001 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009256/0.279, allocations: 0.7137 MB / 0.8008 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.2e-07/0.279, allocations: 0 / 0.8008 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003711/0.2794, allocations: 63.91 kB / 0.8008 GB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009383/0.2804, allocations: 0.9563 MB / 0.8018 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.2808, allocations: 215.8 kB / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2808, allocations: 0 / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.281, allocations: 111.9 kB / 0.8021 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2815, allocations: 52 kB / 0.8021 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.2891, allocations: 4.711 MB / 0.8067 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.2898, allocations: 0.9478 MB / 0.8076 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.29, allocations: 85.31 kB / 0.8077 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.2903, allocations: 215.4 kB / 0.8079 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.2903, allocations: 0 / 0.8079 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3177, allocations: 11.57 MB / 0.8192 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.3179, allocations: 206.9 kB / 0.8194 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.341, allocations: 0 / 0.8194 GB, free: 10.69 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) Environment - environmentSimulation: