Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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 1.437/1.437, allocations: 287.4 MB / 302.5 MB, free: 8.215 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.0008983/0.0008985, allocations: 183.5 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 0.6298 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.0006761/0.0006761, allocations: 85.28 kB / 0.7431 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 13.38 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0008212/0.1652, allocations: 466.3 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1663, allocations: 1.234 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1664, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1664, allocations: 11.92 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.1665, allocations: 15.86 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.167, allocations: 218.6 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1671, allocations: 207.5 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1672, allocations: 24.2 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.1673, allocations: 87.81 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.1674, allocations: 75.75 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.1675, allocations: 12 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.1676, allocations: 27.98 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.1676, allocations: 23.97 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.1676, allocations: 57.62 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1678, allocations: 151.9 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1678, allocations: 0 / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1678, allocations: 0 / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1678, allocations: 4 kB / 0.9813 GB, free: 25.5 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004704/0.1683, allocations: 462.6 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1683, allocations: 8.031 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.1684, allocations: 38.73 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1684, allocations: 20.84 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.1689, allocations: 272.2 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.169, allocations: 8.375 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.169, allocations: 32.3 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1692, allocations: 133.5 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1692, allocations: 0 / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1692, allocations: 7.984 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1692, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.957e-05/0.1693, allocations: 63.89 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.1699, allocations: 0.5241 MB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1701, allocations: 153.2 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.1702, allocations: 65.69 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1702, allocations: 4 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.1705, allocations: 208.9 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.1705, allocations: 0 / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004293/0.1709, allocations: 313.3 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.171, allocations: 89.03 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.171, allocations: 131.2 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.1711, allocations: 41.7 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1711, allocations: 97.48 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1712, allocations: 43.44 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.1712, allocations: 12 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.1712, allocations: 334.8 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1714, allocations: 88.23 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1715, allocations: 152.2 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1717, allocations: 249.5 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1717, allocations: 0 / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004108/0.1722, allocations: 356.6 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.1722, allocations: 67.41 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1722, allocations: 0 / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1722, allocations: 11.92 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.1723, allocations: 19.88 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1723, allocations: 4 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.1726, allocations: 91.98 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.1727, allocations: 16 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.148e-05/0.1728, allocations: 153.3 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1728, allocations: 15.81 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.1728, allocations: 20.86 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1729, allocations: 7.922 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1729, allocations: 0 / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1729, allocations: 4 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1733, allocations: 0.6109 MB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1733, allocations: 3.984 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1733, allocations: 8 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1734, allocations: 3.938 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1734, allocations: 7.984 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1734, allocations: 0 / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1734, allocations: 4 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1737, allocations: 420.2 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.1737, allocations: 92.86 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.1737, allocations: 15.94 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1739, allocations: 19.97 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1739, allocations: 19.97 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1739, allocations: 15.98 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.174, allocations: 100.5 kB / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.174, allocations: 0 / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002835/0.1743, allocations: 56 kB / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004786/0.1748, allocations: 0.9638 MB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.1751, allocations: 352.6 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1751, allocations: 0 / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1753, allocations: 111.9 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1756, allocations: 31.55 kB / 0.9882 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1768, allocations: 0.9819 MB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1769, allocations: 0.7125 MB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.177, allocations: 17.55 kB / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.177, allocations: 39.42 kB / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.177, allocations: 0 / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4866/0.6637, allocations: 3.634 MB / 0.9934 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.6639, allocations: 181.4 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.772, allocations: 1.828 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)