Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001443/0.001443, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.261/1.261, allocations: 205.1 MB / 222 MB, free: 4.766 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.655/1.655, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001346/0.001346, allocations: 74.05 kB / 0.6709 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2257, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002999/0.2288, allocations: 0.8173 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2312, allocations: 1.282 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.2313, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.2314, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.2316, allocations: 19.84 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2326, allocations: 233.5 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.233, allocations: 223.5 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2331, allocations: 12.22 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2333, allocations: 95.8 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2335, allocations: 79.75 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.2336, allocations: 20 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2337, allocations: 27.98 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.2338, allocations: 19.92 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.234, allocations: 83.73 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.2343, allocations: 219.7 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2343, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.699e-06/0.2344, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2344, allocations: 3.938 kB / 0.7859 GB, free: 10.76 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001051/0.2354, allocations: 0.4907 MB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.2355, allocations: 12.03 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.2356, allocations: 42.73 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2357, allocations: 16.84 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.2365, allocations: 244.3 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.2365, allocations: 20.3 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.2366, allocations: 20.38 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.237, allocations: 147.5 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.237, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.237, allocations: 7.984 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2371, allocations: 0 / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.2372, allocations: 63.89 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.2381, allocations: 0.5201 MB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.2384, allocations: 161.2 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2385, allocations: 57.7 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2385, allocations: 8 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.2388, allocations: 198.6 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.2389, allocations: 7.938 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005859/0.2395, allocations: 317.1 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.2395, allocations: 89.03 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2396, allocations: 122.1 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.2397, allocations: 41.69 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.2398, allocations: 96.77 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.2398, allocations: 51.34 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.24, allocations: 81.67 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2401, allocations: 330.8 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2403, allocations: 80.23 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2405, allocations: 152.2 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2409, allocations: 247.4 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2409, allocations: 0 / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006595/0.2416, allocations: 368.2 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.2417, allocations: 63.39 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2417, allocations: 4 kB / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.2417, allocations: 4 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2418, allocations: 27.86 kB / 0.7898 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.2419, allocations: 4 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.2423, allocations: 68 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.2423, allocations: 19.98 kB / 0.7899 GB, free: 6.273 MB / 0.6075 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.2426, allocations: 146.8 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.2426, allocations: 11.91 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.2427, allocations: 12.5 kB / 0.79 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.2427, allocations: 11.88 kB / 0.79 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.2427, allocations: 4 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2427, allocations: 3.984 kB / 0.7901 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.2435, allocations: 0.6032 MB / 0.7906 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2436, allocations: 0 / 0.7906 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.2436, allocations: 11.94 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2436, allocations: 3.938 kB / 0.7907 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2436, allocations: 11.98 kB / 0.7907 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2437, allocations: 4 kB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2437, allocations: 4 kB / 0.7907 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.2442, allocations: 418.5 kB / 0.7911 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.2443, allocations: 92.95 kB / 0.7912 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.2444, allocations: 15.92 kB / 0.7912 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2445, allocations: 7.984 kB / 0.7912 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.2446, allocations: 31.91 kB / 0.7912 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2447, allocations: 15.98 kB / 0.7912 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.2447, allocations: 91.27 kB / 0.7913 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2447, allocations: 0 / 0.7913 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004296/0.2452, allocations: 56.08 kB / 0.7914 GB, free: 4.633 MB / 0.6075 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 (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.000919/0.2461, allocations: 0.9776 MB / 0.7923 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.2467, allocations: 345.3 kB / 0.7927 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2467, allocations: 0 / 0.7927 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.2469, allocations: 119.9 kB / 0.7928 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.2473, allocations: 29.34 kB / 0.7928 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.25, allocations: 2.287 MB / 0.795 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2503, allocations: 0.7047 MB / 0.7957 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.764e-05/0.2504, allocations: 21.53 kB / 0.7957 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.2505, allocations: 43.42 kB / 0.7958 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of SimCode: time 1.223e-06/0.2505, allocations: 0 / 0.7958 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/1.828, allocations: 3.752 MB / 0.7995 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.828, allocations: 200.8 kB / 0.7996 GB, free: 12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/4.182, allocations: 0 / 0.7996 GB, free: 12 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)