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.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001083/0.001083, allocations: 176.5 kB / 372 MB, free: 10.28 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.927/1.927, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.000743/0.0007431, allocations: 86.31 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 12.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0008899/0.2072, allocations: 454.6 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2089, allocations: 1.247 MB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.209, allocations: 3.938 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.209, allocations: 0 / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2092, allocations: 19.84 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.2103, allocations: 221.1 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2106, allocations: 207.6 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2108, allocations: 12.22 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.211, allocations: 87.8 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.2112, allocations: 79.75 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.2113, allocations: 12 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2115, allocations: 27.98 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.2115, allocations: 27.91 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.2116, allocations: 49.7 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2118, allocations: 159.8 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2119, allocations: 0 / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2119, allocations: 3.938 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2119, allocations: 0 / 0.9822 GB, free: 24.96 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.0008096/0.2127, allocations: 458.5 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.2128, allocations: 19.95 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.2129, allocations: 42.55 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.213, allocations: 23.84 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.2137, allocations: 258.8 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2137, allocations: 15.98 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.2138, allocations: 27.98 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.2141, allocations: 128.9 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2141, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2141, allocations: 7.984 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2142, allocations: 3.984 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2143, allocations: 59.95 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.2152, allocations: 0.5279 MB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2155, allocations: 165.2 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2156, allocations: 61.69 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2156, allocations: 0 / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.216, allocations: 211.9 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.216, allocations: 0 / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0006123/0.2167, allocations: 309.4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2167, allocations: 89.05 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.2168, allocations: 129.1 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.2168, allocations: 45.69 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.2169, allocations: 92.7 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.217, allocations: 51.34 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.217, allocations: 8 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.217, allocations: 326.8 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2172, allocations: 88.22 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2174, allocations: 160.2 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2175, allocations: 131.8 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2175, allocations: 0 / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004514/0.218, allocations: 368.5 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.2181, allocations: 65.28 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2181, allocations: 11.92 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2181, allocations: 4 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.2182, allocations: 15.94 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2182, allocations: 4 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.2186, allocations: 91.91 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.2186, allocations: 20 kB / 0.986 GB, free: 20.68 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 0.0001237/0.2187, allocations: 149.8 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2188, allocations: 11.91 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.2188, allocations: 16.48 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2188, allocations: 4 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2188, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2189, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.2194, allocations: 0.6225 MB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2194, allocations: 0 / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.2195, allocations: 4 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2195, allocations: 4 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2195, allocations: 7.984 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2195, allocations: 0 / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.2195, allocations: 3.953 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.2199, allocations: 428.5 kB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.2199, allocations: 92.86 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.22, allocations: 11.98 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2201, allocations: 15.98 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.2202, allocations: 23.92 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2202, allocations: 19.98 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.2203, allocations: 91.27 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2203, allocations: 0 / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003481/0.2206, allocations: 68.08 kB / 0.9876 GB, free: 19.03 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.000578/0.2212, allocations: 0.9603 MB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.2216, allocations: 346.8 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2216, allocations: 0 / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2218, allocations: 119.8 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.2221, allocations: 19.98 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2235, allocations: 0.993 MB / 0.9899 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2237, allocations: 0.7047 MB / 0.9906 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.318e-05/0.2237, allocations: 21.55 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.2238, allocations: 35.42 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2238, allocations: 0 / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.2364, allocations: 3.635 MB / 0.9942 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001171/0.2365, allocations: 191.9 kB / 0.9944 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.795, allocations: 0 / 0.9944 GB, free: 11.97 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)