Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.47/1.47, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.0009115/0.0009117, allocations: 172.5 kB / 372.2 MB, free: 10.1 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.238/1.238, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006967/0.0006967, allocations: 92.95 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003901, allocations: 13.5 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0007735/0.1642, allocations: 466.5 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1654, allocations: 1.239 MB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1655, allocations: 0 / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1655, allocations: 3.938 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.1656, allocations: 19.84 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.1661, allocations: 205 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1663, allocations: 211.5 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.1664, allocations: 20.2 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.1664, allocations: 87.81 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.1665, allocations: 75.77 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.1666, allocations: 12 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1667, allocations: 27.98 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.1667, allocations: 23.95 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.1668, allocations: 109.4 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1669, allocations: 155.9 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1669, allocations: 0 / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1669, allocations: 3.938 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1669, allocations: 4 kB / 0.9828 GB, free: 24.55 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.000463/0.1674, allocations: 458.6 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1674, allocations: 8.031 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1675, allocations: 50.67 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1675, allocations: 20.83 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.168, allocations: 260.2 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1681, allocations: 16.36 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.1681, allocations: 24.38 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1683, allocations: 137.2 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1683, allocations: 0 / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1684, allocations: 0 / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1684, allocations: 4 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1685, allocations: 59.89 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.1691, allocations: 0.5241 MB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1693, allocations: 161.2 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.1694, allocations: 65.67 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1694, allocations: 0 / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.1696, allocations: 214.6 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.1697, allocations: 0 / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004053/0.1701, allocations: 313.3 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1701, allocations: 85.05 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.1702, allocations: 133.7 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.1702, allocations: 37.7 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1703, allocations: 104.6 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1703, allocations: 47.44 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.1703, allocations: 8 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.1704, allocations: 326.8 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1705, allocations: 80.23 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1706, allocations: 164.2 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1709, allocations: 251.2 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1709, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004091/0.1713, allocations: 356.6 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1713, allocations: 67.39 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1713, allocations: 4 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1713, allocations: 4 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.1714, allocations: 24.08 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1714, allocations: 4 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.1718, allocations: 87.78 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1718, allocations: 23.98 kB / 0.9867 GB, free: 20.14 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 8.667e-05/0.1719, allocations: 144 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.1719, allocations: 15.81 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.172, allocations: 12.5 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.172, allocations: 7.938 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.172, allocations: 8 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.172, allocations: 3.984 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.1724, allocations: 0.6109 MB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1724, allocations: 0 / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.1724, allocations: 8 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1724, allocations: 7.938 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1725, allocations: 7.984 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1725, allocations: 4 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1725, allocations: 0 / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1728, allocations: 420.3 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.1728, allocations: 92.95 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1728, allocations: 19.86 kB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.173, allocations: 11.98 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.173, allocations: 27.95 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.173, allocations: 12 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.1731, allocations: 95.27 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1731, allocations: 0 / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000289/0.1734, allocations: 59.98 kB / 0.9882 GB, free: 18.49 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.0004391/0.1738, allocations: 0.9682 MB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1741, allocations: 346.5 kB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1742, allocations: 3.938 kB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1743, allocations: 114.4 kB / 0.9896 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1746, allocations: 32.73 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1758, allocations: 0.981 MB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.1759, allocations: 0.7047 MB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1759, allocations: 21.55 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.176, allocations: 35.42 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.176, allocations: 0 / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5923/0.7683, allocations: 3.656 MB / 0.9949 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.7685, allocations: 202.6 kB / 0.9951 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.412, allocations: 0 / 0.9951 GB, free: 11.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)