Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008719, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00521/0.00521, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.236/1.236, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.525/1.525, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004436/0.0004437, allocations: 16.11 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008716/0.1594, allocations: 0.6072 MB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.1603, allocations: 0.8671 MB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.1603, allocations: 0 / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.1604, allocations: 3.938 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.1605, allocations: 23.84 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1606, allocations: 27.97 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1607, allocations: 99.7 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1608, allocations: 37.09 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.1609, allocations: 31.86 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.161, allocations: 43.72 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.161, allocations: 8 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.161, allocations: 4 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.1611, allocations: 15.91 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1611, allocations: 65.44 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1612, allocations: 111.8 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1612, allocations: 0 / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1612, allocations: 0 / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.1612, allocations: 4 kB / 0.7899 GB, free: 9.508 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000719/0.162, allocations: 467.1 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.162, allocations: 8.031 kB / 0.7904 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.162, allocations: 38.75 kB / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.1621, allocations: 8.844 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1622, allocations: 188.1 kB / 0.7906 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1622, allocations: 4.375 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1622, allocations: 12.38 kB / 0.7906 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1624, allocations: 94.16 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1624, allocations: 3.938 kB / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1625, allocations: 7.984 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1625, allocations: 3.938 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1626, allocations: 75.97 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.1633, allocations: 420.3 kB / 0.7912 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1634, allocations: 66.56 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.1635, allocations: 44.89 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1636, allocations: 0 / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.1636, allocations: 30.56 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.1636, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.1639, allocations: 121.6 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.1639, allocations: 59.34 kB / 0.7915 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1641, allocations: 146.5 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1641, allocations: 33.7 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.1641, allocations: 104 kB / 0.7918 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1642, allocations: 19.81 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1642, allocations: 17.7 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.1643, allocations: 322.8 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.1644, allocations: 35.92 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.1645, allocations: 31.98 kB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1646, allocations: 56.83 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1646, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001974/0.1648, allocations: 101.6 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1648, allocations: 8 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1648, allocations: 4 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.1648, allocations: 0 / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.1649, allocations: 15.92 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1649, allocations: 3.938 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1651, allocations: 40.05 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1651, allocations: 4 kB / 0.7924 GB, free: 6.723 MB / 0.6075 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 7.419e-05/0.1652, allocations: 118.5 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1652, allocations: 7.906 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.1653, allocations: 16.31 kB / 0.7925 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1653, allocations: 0 / 0.7925 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1653, allocations: 3.938 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1653, allocations: 4 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1655, allocations: 201.5 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1655, allocations: 3.938 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.1656, allocations: 12.23 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1656, allocations: 0 / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1656, allocations: 4 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1656, allocations: 0 / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1656, allocations: 3.938 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1658, allocations: 199.4 kB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1659, allocations: 81.02 kB / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1659, allocations: 8 kB / 0.793 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1661, allocations: 35.95 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1661, allocations: 15.92 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1661, allocations: 0 / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.1662, allocations: 117.7 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 0 / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002104/0.1664, allocations: 16 kB / 0.7932 GB, free: 5.793 MB / 0.6075 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.0004233/0.1669, allocations: 0.7279 MB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1671, allocations: 75.95 kB / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1671, allocations: 3.938 kB / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.1672, allocations: 39.98 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1674, allocations: 10.59 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1689, allocations: 1.641 MB / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.1691, allocations: 0.6965 MB / 0.7963 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.045e-05/0.1692, allocations: 19.83 kB / 0.7963 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.1692, allocations: 27.42 kB / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.1692, allocations: 3.938 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.87/2.04, allocations: 2.296 MB / 0.7986 GB, free: 296 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/2.04, allocations: 211.7 kB / 0.7988 GB, free: 36 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/3.661, allocations: 0 / 0.7988 GB, free: 36 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)