Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009232/0.0009233, allocations: 169.6 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006867/0.0006867, allocations: 82.55 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 15.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002356/0.1756, allocations: 2.191 MB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.1765, allocations: 0.5246 MB / 0.8989 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.1767, allocations: 4 kB / 0.8989 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1771, allocations: 120.6 kB / 0.899 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1773, allocations: 79.41 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.1775, allocations: 39.97 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1777, allocations: 234.6 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1779, allocations: 95.03 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.178, allocations: 67.61 kB / 0.8995 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1782, allocations: 95.5 kB / 0.8996 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.1782, allocations: 8 kB / 0.8996 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.1782, allocations: 8 kB / 0.8996 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.1783, allocations: 71.69 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.1784, allocations: 135 kB / 0.8998 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1786, allocations: 326.5 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1787, allocations: 4 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1787, allocations: 0 / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1787, allocations: 3.938 kB / 0.9001 GB, free: 64.04 MB / 0.6042 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.0006258/0.1793, allocations: 0.6004 MB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1793, allocations: 15.97 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.1794, allocations: 46.73 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1795, allocations: 40.47 kB / 0.9008 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1798, allocations: 306.1 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1798, allocations: 12.38 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1798, allocations: 12.38 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.18, allocations: 149.9 kB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1801, allocations: 3.938 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1801, allocations: 4 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1801, allocations: 4 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1803, allocations: 103.7 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.1809, allocations: 0.5741 MB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1812, allocations: 90.48 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1812, allocations: 52.95 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1813, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.1813, allocations: 34.56 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1813, allocations: 0 / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002795/0.1816, allocations: 145.2 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.1816, allocations: 51.41 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1819, allocations: 393.9 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1819, allocations: 29.7 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.182, allocations: 216 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.182, allocations: 35.48 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.182, allocations: 21.7 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.1821, allocations: 342.8 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.1822, allocations: 31.98 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.1822, allocations: 55.72 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1824, allocations: 95.31 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1824, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001912/0.1826, allocations: 145.1 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1826, allocations: 8.078 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1826, allocations: 8 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1826, allocations: 7.938 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1827, allocations: 23.98 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1828, allocations: 4 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.1828, allocations: 8 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1829, allocations: 7.938 kB / 0.9036 GB, free: 60.16 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.183, allocations: 161.8 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.183, allocations: 39.53 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.1831, allocations: 43.2 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1831, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1831, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1831, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.1833, allocations: 313.4 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1833, allocations: 0 / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1834, allocations: 19.98 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1834, allocations: 0 / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1835, allocations: 8 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1835, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1835, allocations: 4 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1838, allocations: 259 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1838, allocations: 112.7 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1839, allocations: 7.984 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.1839, allocations: 4 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.184, allocations: 7.984 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.184, allocations: 8 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001803/0.1842, allocations: 283.1 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1842, allocations: 0 / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002292/0.1844, allocations: 43.84 kB / 0.9049 GB, free: 58.77 MB / 0.6042 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 (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.0004113/0.1848, allocations: 0.7903 MB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.185, allocations: 67.92 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.185, allocations: 0 / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.1851, allocations: 35.92 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1854, allocations: 30.05 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1878, allocations: 2.826 MB / 0.9085 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.188, allocations: 0.7945 MB / 0.9093 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.188, allocations: 12.62 kB / 0.9093 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.1881, allocations: 107.4 kB / 0.9094 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.1881, allocations: 4 kB / 0.9094 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/0.3682, allocations: 4.671 MB / 0.914 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.3684, allocations: 225.4 kB / 0.9142 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.338, allocations: 0 / 0.9142 GB, free: 49.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)