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.001246/0.001246, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001288, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001434/0.001434, allocations: 70.09 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.207, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003323/0.2104, allocations: 2.267 MB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2118, allocations: 0.9462 MB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2119, allocations: 4 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.2124, allocations: 191.3 kB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2126, allocations: 67.5 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2129, allocations: 115.7 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2131, allocations: 223 kB / 0.7874 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2133, allocations: 97.66 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.2134, allocations: 91.53 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2136, allocations: 99.42 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.2136, allocations: 19.98 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.2139, allocations: 151.8 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.2141, allocations: 215.3 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2142, allocations: 262.1 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.2148, allocations: 0.7159 MB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2148, allocations: 0 / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2148, allocations: 4 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2148, allocations: 0 / 0.7889 GB, free: 7.781 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.001052/0.2159, allocations: 0.9824 MB / 0.7899 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2159, allocations: 8.031 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.216, allocations: 46.73 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.2165, allocations: 123.8 kB / 0.7901 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2171, allocations: 0.5818 MB / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2172, allocations: 8.375 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.2172, allocations: 12.38 kB / 0.7907 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.2175, allocations: 198.1 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2176, allocations: 7.938 kB / 0.7909 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2176, allocations: 11.94 kB / 0.7909 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2176, allocations: 4 kB / 0.7909 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.218, allocations: 219.9 kB / 0.7911 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2191, allocations: 0.9177 MB / 0.792 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.2197, allocations: 310.5 kB / 0.7923 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2199, allocations: 116.9 kB / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.2206, allocations: 237 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2206, allocations: 34.5 kB / 0.7927 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.2206, allocations: 0 / 0.7927 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007422/0.2214, allocations: 404.8 kB / 0.793 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.2214, allocations: 55.41 kB / 0.7931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2225, allocations: 0.9935 MB / 0.7941 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2225, allocations: 25.8 kB / 0.7941 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.2228, allocations: 355.9 kB / 0.7944 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2228, allocations: 27.56 kB / 0.7944 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.2229, allocations: 29.7 kB / 0.7945 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.223, allocations: 306 kB / 0.7948 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.2232, allocations: 95.95 kB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.2234, allocations: 126.5 kB / 0.795 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2238, allocations: 218.4 kB / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2238, allocations: 0 / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005297/0.2243, allocations: 324.5 kB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2244, allocations: 4 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2244, allocations: 4.062 kB / 0.7955 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2244, allocations: 7.984 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2246, allocations: 23.92 kB / 0.7955 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2246, allocations: 4 kB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2247, allocations: 7.906 kB / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.2247, allocations: 7.984 kB / 0.7956 GB, free: 0.7305 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.0002341/0.225, allocations: 250.4 kB / 0.7958 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.2251, allocations: 75 kB / 0.7959 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.2257, allocations: 332.4 kB / 0.7962 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2257, allocations: 3.984 kB / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2257, allocations: 192 / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2257, allocations: 0 / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.2263, allocations: 0.5323 MB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2263, allocations: 3.938 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2264, allocations: 27.98 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2264, allocations: 0 / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2264, allocations: 4 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2264, allocations: 4 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2265, allocations: 0 / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.227, allocations: 406.4 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.2272, allocations: 180.1 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.2272, allocations: 4 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2274, allocations: 7.984 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2275, allocations: 8 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2275, allocations: 0 / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000792/0.2283, allocations: 0.7176 MB / 0.798 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2283, allocations: 4 kB / 0.798 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003315/0.2286, allocations: 71.84 kB / 0.7981 GB, free: 14.03 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.0008588/0.2295, allocations: 0.9614 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.2299, allocations: 207.8 kB / 0.7992 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2299, allocations: 384 / 0.7992 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2301, allocations: 123.9 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.2306, allocations: 47.31 kB / 0.7994 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.2381, allocations: 6.36 MB / 0.8056 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.2387, allocations: 0.9451 MB / 0.8065 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.2389, allocations: 77.31 kB / 0.8066 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2391, allocations: 215.4 kB / 0.8068 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of SimCode: time 8.01e-07/0.2391, allocations: 0 / 0.8068 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2688, allocations: 11.63 MB / 0.8182 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.618, allocations: 3.75 kB / 0.8182 GB, free: 9.48 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/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)