Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.373/1.373, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009363/0.0009364, allocations: 187.9 kB / 327 MB, free: 2.105 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.455/1.455, allocations: 205.4 MB / 0.578 GB, free: 20.4 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.0008061/0.0008061, allocations: 97.69 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 11.5 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1789, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001505/0.1804, allocations: 1.316 MB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1808, allocations: 188.2 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1809, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.1809, allocations: 3.938 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.181, allocations: 11.86 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.1811, allocations: 39.95 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.1812, allocations: 99.7 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1814, allocations: 44.89 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.1815, allocations: 43.78 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.1816, allocations: 39.78 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1816, allocations: 0 / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.1816, allocations: 4 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.1816, allocations: 19.92 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1817, allocations: 61.44 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1818, allocations: 111.6 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1818, allocations: 0 / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1818, allocations: 0 / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1818, allocations: 0 / 0.9028 GB, free: 61.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007078/0.1825, allocations: 459.4 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1826, allocations: 12.03 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.1826, allocations: 34.75 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1826, allocations: 16.75 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.1827, allocations: 190.7 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1828, allocations: 4.375 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1828, allocations: 8.375 kB / 0.9035 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.183, allocations: 104.2 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.183, allocations: 7.922 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.183, allocations: 3.938 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.183, allocations: 4 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.1832, allocations: 67.97 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.1838, allocations: 416.4 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1839, allocations: 66.48 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.184, allocations: 40.97 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1841, allocations: 3.938 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1841, allocations: 38.56 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1841, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003094/0.1844, allocations: 117.6 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.1844, allocations: 59.34 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.1845, allocations: 156.4 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1845, allocations: 25.7 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1846, allocations: 112.2 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1846, allocations: 11.81 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.1846, allocations: 0 / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.1847, allocations: 330.8 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.1848, allocations: 31.98 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.1849, allocations: 31.97 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.185, allocations: 56.84 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.185, allocations: 0 / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.1852, allocations: 105.6 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1852, allocations: 4 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1852, allocations: 3.984 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1852, allocations: 8.25 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.1853, allocations: 15.92 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1853, allocations: 8.172 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1855, allocations: 35.88 kB / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1855, allocations: 0 / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.196e-05/0.1856, allocations: 121.8 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1856, allocations: 7.906 kB / 0.9054 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.1857, allocations: 12.3 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1857, allocations: 4 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1857, allocations: 3.938 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1857, allocations: 0 / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1858, allocations: 205.5 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1858, allocations: 8 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.1859, allocations: 7.984 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1859, allocations: 4 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1859, allocations: 0 / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1859, allocations: 3.984 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1859, allocations: 3.938 kB / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1861, allocations: 203.2 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.1862, allocations: 85.02 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1862, allocations: 0 / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1864, allocations: 31.97 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1864, allocations: 23.91 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1864, allocations: 0 / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.1865, allocations: 118.7 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1865, allocations: 0 / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002033/0.1867, allocations: 19.91 kB / 0.9061 GB, free: 58.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0003383/0.1871, allocations: 0.728 MB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1873, allocations: 72.09 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1873, allocations: 0 / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.1874, allocations: 43.92 kB / 0.907 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1876, allocations: 20.98 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1889, allocations: 1.634 MB / 0.9086 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.189, allocations: 0.7004 MB / 0.9093 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.1891, allocations: 8 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.1892, allocations: 31.42 kB / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1892, allocations: 0 / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1996, allocations: 2.296 MB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.1998, allocations: 236.2 kB / 0.9118 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.909, allocations: 0 / 0.9118 GB, free: 52.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)