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 2.676/2.676, allocations: 287.5 MB / 302.4 MB, free: 8.422 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.001415/0.001414, allocations: 182.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009255/0.000925, allocations: 95.17 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006489/0.0006492, allocations: 16.12 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2312, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001488/0.2328, allocations: 474.3 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.2356, allocations: 1.235 MB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.2357, allocations: 4 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.2358, allocations: 3.938 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2359, allocations: 15.84 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2374, allocations: 221.6 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.2379, allocations: 207.6 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2381, allocations: 12.22 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2383, allocations: 87.8 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.2385, allocations: 79.77 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.2386, allocations: 16 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2388, allocations: 23.98 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.2389, allocations: 27.89 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.239, allocations: 53.7 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.2394, allocations: 155.8 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2394, allocations: 0 / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2394, allocations: 0 / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2394, allocations: 0 / 0.981 GB, free: 25.63 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.0009889/0.2404, allocations: 466.5 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.2405, allocations: 12.02 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.2406, allocations: 50.48 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2407, allocations: 15.91 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2421, allocations: 264.6 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.2422, allocations: 19.92 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.3e-05/0.2423, allocations: 20 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.2428, allocations: 139.2 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2428, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2428, allocations: 3.938 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2429, allocations: 7.984 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.2432, allocations: 59.95 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2447, allocations: 0.5279 MB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.2452, allocations: 149.2 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.2455, allocations: 65.72 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2455, allocations: 4 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/0.2462, allocations: 211.6 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.316e-06/0.2462, allocations: 0 / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.001191/0.2474, allocations: 314.1 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2475, allocations: 85.11 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2477, allocations: 131.8 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/0.2478, allocations: 41.69 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.2479, allocations: 92.7 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.248, allocations: 51.34 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.248, allocations: 8 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.2482, allocations: 326.8 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.2486, allocations: 80.23 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.249, allocations: 172.1 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.2495, allocations: 139.4 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2495, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001251/0.2508, allocations: 359.2 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.2509, allocations: 63.41 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2509, allocations: 4 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.2509, allocations: 7.938 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.2512, allocations: 19.92 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.2512, allocations: 12.11 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2522, allocations: 91.78 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.2523, allocations: 19.98 kB / 0.9849 GB, free: 21.33 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.000224/0.2526, allocations: 145.3 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.2526, allocations: 11.91 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.2527, allocations: 16.48 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.2528, allocations: 4 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.2528, allocations: 0 / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2528, allocations: 11.95 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.254, allocations: 0.5992 MB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.254, allocations: 3.938 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.2542, allocations: 15.98 kB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2542, allocations: 0 / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.2542, allocations: 7.984 kB / 0.9856 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.2543, allocations: 3.953 kB / 0.9856 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2543, allocations: 4 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.2551, allocations: 421.2 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.2552, allocations: 96.84 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.2553, allocations: 8 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.2557, allocations: 15.97 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2558, allocations: 35.91 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.2558, allocations: 15.98 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.2559, allocations: 92.77 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2559, allocations: 0 / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007849/0.2567, allocations: 60 kB / 0.9864 GB, free: 19.69 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.001161/0.2579, allocations: 0.9642 MB / 0.9873 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.259, allocations: 342.6 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.259, allocations: 96 / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.2594, allocations: 115.8 kB / 0.9877 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.2603, allocations: 32.36 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.2635, allocations: 0.9787 MB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.2637, allocations: 0.7086 MB / 0.9894 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.2639, allocations: 17.55 kB / 0.9894 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.264, allocations: 39.42 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2641, allocations: 0 / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.2948, allocations: 3.631 MB / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.2951, allocations: 182.6 kB / 0.9932 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/2.865, allocations: 0 / 0.9932 GB, free: 12.64 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)