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.EquipmentOnOff.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.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.359/1.359, allocations: 252 MB / 267.3 MB, free: 10.85 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.000914/0.000914, allocations: 162.5 kB / 327 MB, free: 2.109 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.495/1.495, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.000758/0.000758, allocations: 94.28 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003337, allocations: 8.688 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001547/0.1875, allocations: 1.242 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.188, allocations: 228.1 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.188, allocations: 4 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.1881, allocations: 3.984 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.1882, allocations: 19.8 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1883, allocations: 31.97 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.1884, allocations: 75.78 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1886, allocations: 39.83 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.1886, allocations: 27.84 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.1887, allocations: 31.84 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1887, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.1887, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.1888, allocations: 7.984 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.1888, allocations: 53.45 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.1889, allocations: 87.69 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.189, allocations: 0 / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.189, allocations: 0 / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.189, allocations: 4 kB / 0.9027 GB, free: 61.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005162/0.1895, allocations: 396.5 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1895, allocations: 15.97 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1896, allocations: 34.75 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.1896, allocations: 8.844 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.1897, allocations: 176.2 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1897, allocations: 8.375 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1898, allocations: 8.375 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.19, allocations: 94.64 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.19, allocations: 3.938 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.19, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.19, allocations: 0 / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.1902, allocations: 78.7 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1906, allocations: 352.5 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1908, allocations: 62.55 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.1909, allocations: 36.95 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1909, allocations: 4 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1911, allocations: 83.38 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1911, allocations: 3.938 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003727/0.1915, allocations: 133.6 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1916, allocations: 51.41 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.1916, allocations: 133.8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1917, allocations: 25.7 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1917, allocations: 100 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1917, allocations: 19.75 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.1917, allocations: 0 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.1918, allocations: 318.8 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.1919, allocations: 31.98 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.192, allocations: 58.55 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1922, allocations: 77.55 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1922, allocations: 4.031 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000225/0.1924, allocations: 109.6 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1925, allocations: 10.91 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1925, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1925, allocations: 0 / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.1926, allocations: 16.02 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1926, allocations: 3.938 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1927, allocations: 31.89 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1927, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,onSys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.648e-05/0.1928, allocations: 126.8 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.1928, allocations: 0 / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1929, allocations: 16.36 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1929, allocations: 0 / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1929, allocations: 4.188 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1929, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.193, allocations: 193.6 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.193, allocations: 3.938 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.1931, allocations: 11.98 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1931, allocations: 0 / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1931, allocations: 4 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1931, allocations: 4 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1931, allocations: 3.938 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1934, allocations: 133 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.1934, allocations: 81.02 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1934, allocations: 0 / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1935, allocations: 19.98 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1936, allocations: 19.91 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1936, allocations: 4 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.1937, allocations: 91.27 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.62e-07/0.1937, allocations: 4 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000181/0.1938, allocations: 23.88 kB / 0.9058 GB, free: 58.01 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: 5 ($whenCondition1,conEquSta.onBoi,conEquSta.hys.y,onSys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004125/0.1943, allocations: 0.6631 MB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1945, allocations: 75.89 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1945, allocations: 4 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1946, allocations: 44.03 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1948, allocations: 19.81 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1961, allocations: 1.441 MB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1962, allocations: 0.6926 MB / 0.9087 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.1962, allocations: 3.75 kB / 0.9087 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1963, allocations: 23.42 kB / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1963, allocations: 4 kB / 0.9087 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.2077, allocations: 1.866 MB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.2079, allocations: 230.6 kB / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.866, allocations: 0 / 0.9108 GB, free: 52.95 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)