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.001053/0.001053, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001396/0.001396, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.788/1.788, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005811/0.0005812, allocations: 18.94 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3081, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001159/0.3093, allocations: 474.2 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3112, allocations: 1.24 MB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.3113, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.3113, allocations: 3.938 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3114, allocations: 15.86 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.3122, allocations: 213.9 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.3126, allocations: 203.5 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3127, allocations: 16.2 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3129, allocations: 91.8 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3131, allocations: 75.78 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3131, allocations: 12 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3133, allocations: 27.97 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.3133, allocations: 23.97 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.3134, allocations: 53.64 kB / 0.7898 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3136, allocations: 163.8 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3136, allocations: 4 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3137, allocations: 0 / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.3137, allocations: 0 / 0.7899 GB, free: 9.191 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.0007788/0.3145, allocations: 465.2 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3145, allocations: 8.031 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.3146, allocations: 42.55 kB / 0.7904 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.3147, allocations: 19.91 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.3154, allocations: 266.7 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.3154, allocations: 15.98 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3155, allocations: 16 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3157, allocations: 131.3 kB / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3158, allocations: 0 / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.3158, allocations: 15.98 kB / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3158, allocations: 0 / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3159, allocations: 63.89 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.3168, allocations: 0.5202 MB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.3171, allocations: 153.2 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3173, allocations: 69.69 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3173, allocations: 7.984 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.3177, allocations: 208.5 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3177, allocations: 0 / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005586/0.3183, allocations: 311.9 kB / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.3183, allocations: 89.06 kB / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3184, allocations: 134 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.3185, allocations: 37.69 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.3186, allocations: 96.7 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.3186, allocations: 51.5 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.3187, allocations: 8 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3188, allocations: 322.8 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.319, allocations: 92.23 kB / 0.793 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3192, allocations: 148.2 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3194, allocations: 151.3 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3194, allocations: 0 / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005763/0.32, allocations: 364.1 kB / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.3201, allocations: 59.41 kB / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3201, allocations: 0 / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3201, allocations: 4.219 kB / 0.7937 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.3202, allocations: 27.92 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3202, allocations: 7.938 kB / 0.7937 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.3206, allocations: 95.72 kB / 0.7938 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.3207, allocations: 20 kB / 0.7938 GB, free: 4.91 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 ($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.0001482/0.3208, allocations: 136 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3209, allocations: 12.28 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.3209, allocations: 20.48 kB / 0.794 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3209, allocations: 8 kB / 0.794 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3209, allocations: 0 / 0.794 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3209, allocations: 3.938 kB / 0.794 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.3216, allocations: 0.6069 MB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3216, allocations: 4 kB / 0.7946 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3217, allocations: 11.92 kB / 0.7946 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3217, allocations: 4 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3217, allocations: 11.98 kB / 0.7946 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3217, allocations: 4 kB / 0.7946 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3217, allocations: 3.953 kB / 0.7946 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.3222, allocations: 417.2 kB / 0.795 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.3223, allocations: 92.86 kB / 0.7951 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.3223, allocations: 8 kB / 0.7951 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3224, allocations: 19.92 kB / 0.7951 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.3225, allocations: 31.91 kB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.3226, allocations: 15.98 kB / 0.7952 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.3226, allocations: 95.27 kB / 0.7953 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3226, allocations: 0 / 0.7953 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003866/0.323, allocations: 51.94 kB / 0.7953 GB, free: 3.27 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 (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.0008882/0.3239, allocations: 0.9681 MB / 0.7962 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.3245, allocations: 346.7 kB / 0.7966 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3245, allocations: 0 / 0.7966 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3247, allocations: 115.9 kB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3251, allocations: 32.41 kB / 0.7967 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3269, allocations: 0.9849 MB / 0.7977 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3272, allocations: 0.7047 MB / 0.7984 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.3273, allocations: 17.55 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.3274, allocations: 39.42 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.3274, allocations: 0 / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05169/0.3791, allocations: 3.622 MB / 0.802 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.3794, allocations: 189.1 kB / 0.8021 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.282, allocations: 5.125 kB / 0.8021 GB, free: 12.2 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/linux/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) Environment - environmentSimulation: