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.TimerAccumulating.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.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.961/1.961, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001937/0.001937, allocations: 172.9 kB / 361.4 MB, free: 6.895 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.841/2.841, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 105.2 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.83e-05, allocations: 4 kB / 0.8519 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518/1.519, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/1.949, allocations: 137.9 MB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/1.949, allocations: 72.89 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02032/1.969, allocations: 3.965 MB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.546e-06/1.97, allocations: 0 / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.672e-05/1.97, allocations: 4 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001455/1.971, allocations: 0.5388 MB / 1.104 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 9.535e-05/1.971, allocations: 8.031 kB / 1.104 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/1.971, allocations: 32.84 kB / 1.104 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/1.972, allocations: 181.3 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/1.972, allocations: 11.98 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/1.972, allocations: 31.98 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004328/1.972, allocations: 104.5 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/1.973, allocations: 235.1 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.973, allocations: 0 / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.973, allocations: 7.984 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/1.973, allocations: 4 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/1.976, allocations: 0.5482 MB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/1.977, allocations: 387.8 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/1.978, allocations: 186.5 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.978, allocations: 4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/1.979, allocations: 351.7 kB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.717e-05/1.979, allocations: 0 / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.001556/1.981, allocations: 485.9 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.981, allocations: 71.33 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/1.981, allocations: 123.7 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.981, allocations: 41.69 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/1.981, allocations: 97.45 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/1.982, allocations: 94.77 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/1.982, allocations: 12 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002817/1.982, allocations: 338.8 kB / 1.107 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.983, allocations: 125.3 kB / 1.107 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/1.983, allocations: 267 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.984, allocations: 161.1 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.984, allocations: 0 / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001946/1.986, allocations: 488.1 kB / 1.108 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/1.986, allocations: 63.97 kB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/1.987, allocations: 14.17 kB / 1.108 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-05/1.987, allocations: 8 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.987, allocations: 43.86 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/1.987, allocations: 8 kB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/1.988, allocations: 99.72 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/1.988, allocations: 27.98 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0004274/1.988, allocations: 154 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001285/1.99, allocations: 488.9 kB / 1.109 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/1.99, allocations: 31.7 kB / 1.109 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/1.99, allocations: 22.19 kB / 1.109 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.99, allocations: 4 kB / 1.109 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.99, allocations: 3.953 kB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.99, allocations: 3.984 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/1.993, allocations: 0.9568 MB / 1.11 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.993, allocations: 4 kB / 1.11 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/1.993, allocations: 11.98 kB / 1.11 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.302e-05/1.993, allocations: 4 kB / 1.11 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/1.993, allocations: 11.98 kB / 1.11 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/1.993, allocations: 13.5 kB / 1.11 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/1.994, allocations: 3.984 kB / 1.11 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.995, allocations: 0.6091 MB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.995, allocations: 96.89 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.995, allocations: 19.98 kB / 1.11 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.996, allocations: 31.95 kB / 1.11 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.996, allocations: 47.92 kB / 1.11 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/1.996, allocations: 35.97 kB / 1.111 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001209/1.996, allocations: 95.22 kB / 1.111 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/1.996, allocations: 0 / 1.111 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008882/1.997, allocations: 95.97 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.002232/1.999, allocations: 1.34 MB / 1.112 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0015/2.001, allocations: 0.5027 MB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/2.001, allocations: 0 / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/2.002, allocations: 279.8 kB / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/2.003, allocations: 28.38 kB / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/2.005, allocations: 411.8 kB / 1.113 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009804/2.006, allocations: 0.7348 MB / 1.114 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002104/2.006, allocations: 35.27 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/2.006, allocations: 55.42 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of SimCode: time 2.706e-06/2.007, allocations: 4 kB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/2.112, allocations: 5.183 MB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004693/2.112, allocations: 163.6 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/6.142, allocations: 8.562 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)