Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_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.001577/0.001577, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 185.6 kB / 16.62 MB, free: 6.582 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.289/1.289, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.614/1.614, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002672/0.002672, allocations: 68.22 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2283, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002785/0.2311, allocations: 1.785 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2323, allocations: 0.7663 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2325, allocations: 4 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2326, allocations: 23.73 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.2327, allocations: 35.66 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.2335, allocations: 388.3 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.2339, allocations: 451.1 kB / 0.787 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2341, allocations: 64.28 kB / 0.7871 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2343, allocations: 167.6 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.2345, allocations: 159.5 kB / 0.7874 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.2345, allocations: 39.94 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2346, allocations: 55.98 kB / 0.7875 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.2347, allocations: 55.88 kB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2348, allocations: 171.4 kB / 0.7877 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2352, allocations: 387.1 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2352, allocations: 0 / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2352, allocations: 0 / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2352, allocations: 0 / 0.788 GB, free: 8.75 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007923/0.236, allocations: 0.6316 MB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2361, allocations: 8.031 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.2361, allocations: 54.72 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.2362, allocations: 36.64 kB / 0.7888 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.237, allocations: 301.1 kB / 0.789 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.237, allocations: 24.69 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2371, allocations: 32.38 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.2374, allocations: 184.5 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2374, allocations: 3.938 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2374, allocations: 15.98 kB / 0.7893 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2374, allocations: 7.938 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2376, allocations: 108.2 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.2385, allocations: 0.5858 MB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2388, allocations: 210.4 kB / 0.7902 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2389, allocations: 80.83 kB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2389, allocations: 4 kB / 0.7903 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.2393, allocations: 251.4 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.2393, allocations: 4 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.000661/0.24, allocations: 418.9 kB / 0.7909 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.24, allocations: 67.34 kB / 0.791 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2402, allocations: 183 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.2402, allocations: 49.7 kB / 0.7912 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.2403, allocations: 136.8 kB / 0.7913 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.2404, allocations: 90.88 kB / 0.7914 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.2406, allocations: 126.2 kB / 0.7915 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2407, allocations: 342.8 kB / 0.7919 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.241, allocations: 149 kB / 0.792 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.2414, allocations: 271.2 kB / 0.7923 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.2418, allocations: 419 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2419, allocations: 3.938 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008602/0.2427, allocations: 0.589 MB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.2428, allocations: 93.09 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2428, allocations: 4 kB / 0.7933 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2428, allocations: 8 kB / 0.7933 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.243, allocations: 47.84 kB / 0.7934 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.243, allocations: 8.312 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2435, allocations: 107.6 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.2436, allocations: 27.98 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001725/0.2437, allocations: 179 kB / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.2438, allocations: 23.72 kB / 0.7937 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.2438, allocations: 22.66 kB / 0.7937 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2439, allocations: 7.938 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2439, allocations: 3.984 kB / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2439, allocations: 0 / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/0.2448, allocations: 0.7016 MB / 0.7944 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2448, allocations: 3.938 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.2448, allocations: 19.98 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2448, allocations: 4 kB / 0.7945 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.2449, allocations: 11.98 kB / 0.7945 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2449, allocations: 3.938 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2449, allocations: 96 / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.2454, allocations: 432.4 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.2455, allocations: 100.8 kB / 0.795 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.2455, allocations: 11.98 kB / 0.795 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2456, allocations: 15.98 kB / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.2457, allocations: 19.97 kB / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2457, allocations: 19.98 kB / 0.795 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.2458, allocations: 134.3 kB / 0.7952 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2458, allocations: 0 / 0.7952 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003486/0.2462, allocations: 87.98 kB / 0.7953 GB, free: 0.8555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0008066/0.247, allocations: 0.9798 MB / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006945/0.2477, allocations: 0.541 MB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2477, allocations: 0.75 kB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2479, allocations: 147.7 kB / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2483, allocations: 54.39 kB / 0.7969 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.252, allocations: 3.083 MB / 0.7999 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.2524, allocations: 0.745 MB / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.98e-05/0.2525, allocations: 30.97 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.2526, allocations: 75.41 kB / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2526, allocations: 0 / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2736, allocations: 5.904 MB / 0.8065 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.45, allocations: 6.406 kB / 0.8065 GB, free: 5.164 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)