Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 176.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.397/2.397, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008967/0.0008966, allocations: 92.02 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000728/0.0007282, allocations: 13.16 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2106, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002867/0.2136, allocations: 2.061 MB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2146, allocations: 0.5009 MB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2148, allocations: 4 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.2152, allocations: 107.4 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2154, allocations: 87.41 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.2156, allocations: 27.97 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2158, allocations: 234.7 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.2161, allocations: 81.28 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2162, allocations: 79.66 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2164, allocations: 87.56 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.2164, allocations: 8 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.2165, allocations: 8 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2166, allocations: 71.69 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.123e-05/0.2167, allocations: 85.52 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.217, allocations: 243.4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.217, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.217, allocations: 4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.217, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008604/0.2179, allocations: 0.595 MB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.218, allocations: 12.02 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.218, allocations: 50.55 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.2181, allocations: 51.44 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.2185, allocations: 285.2 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2185, allocations: 8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.2186, allocations: 16 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.219, allocations: 141.1 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.219, allocations: 4 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.219, allocations: 4 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.219, allocations: 7.984 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.2194, allocations: 95.95 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.2203, allocations: 0.59 MB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2207, allocations: 82.66 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2209, allocations: 44.84 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2209, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.2209, allocations: 38.5 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.2209, allocations: 11.94 kB / 0.984 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004855/0.2214, allocations: 145.1 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2215, allocations: 51.41 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.222, allocations: 386 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.222, allocations: 33.64 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2222, allocations: 216 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2222, allocations: 31.55 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.2222, allocations: 0 / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.2223, allocations: 350.8 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2225, allocations: 27.98 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2226, allocations: 53.3 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2228, allocations: 35.94 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2228, allocations: 4 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003678/0.2231, allocations: 145.1 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2232, allocations: 4 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2232, allocations: 0 / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2232, allocations: 4 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2234, allocations: 31.88 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2235, allocations: 0 / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2236, allocations: 15.83 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2237, allocations: 12.09 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001979/0.2239, allocations: 162.3 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.2239, allocations: 31.62 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.224, allocations: 43.14 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.224, allocations: 4 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2241, allocations: 3.953 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2241, allocations: 3.938 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.2245, allocations: 309.4 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2245, allocations: 4 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.2248, allocations: 23.98 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2248, allocations: 0 / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2248, allocations: 0 / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2248, allocations: 0 / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2248, allocations: 4 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2253, allocations: 251 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.2254, allocations: 108.7 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.2255, allocations: 8.062 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2256, allocations: 7.984 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2257, allocations: 4 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2257, allocations: 4 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003371/0.2261, allocations: 279.1 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2261, allocations: 0 / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003774/0.2264, allocations: 47.8 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.0007154/0.2272, allocations: 0.7979 MB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2275, allocations: 72.03 kB / 0.9876 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2275, allocations: 0 / 0.9876 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2277, allocations: 35.92 kB / 0.9876 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.2282, allocations: 29.8 kB / 0.9876 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.2316, allocations: 1.884 MB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2319, allocations: 0.8023 MB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.2321, allocations: 12.64 kB / 0.9903 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2323, allocations: 99.41 kB / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2323, allocations: 0 / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.267, allocations: 4.829 MB / 0.9951 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.2673, allocations: 208.7 kB / 0.9953 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.168, allocations: 0 / 0.9953 GB, free: 10.66 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)