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.00166/0.00166, 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.002416/0.002416, allocations: 188 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.692/1.692, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001369/0.001369, allocations: 67.59 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2045, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003306/0.2079, allocations: 1.785 MB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2092, allocations: 0.7702 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2094, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2096, allocations: 23.67 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.2097, allocations: 35.64 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.2107, allocations: 392.5 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.2112, allocations: 447.1 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2113, allocations: 64.27 kB / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2115, allocations: 163.6 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2117, allocations: 159.5 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.2118, allocations: 43.94 kB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2119, allocations: 51.98 kB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.2119, allocations: 55.88 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2121, allocations: 171.3 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.2125, allocations: 383.1 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2125, allocations: 0 / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2125, allocations: 0 / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2125, allocations: 0 / 0.788 GB, free: 8.715 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.0007758/0.2133, allocations: 0.6355 MB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2133, allocations: 12.03 kB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.2134, allocations: 50.67 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.2135, allocations: 36.64 kB / 0.7888 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.2142, allocations: 297.1 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.2143, allocations: 32.69 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.2143, allocations: 36.31 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2146, allocations: 184.5 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2146, allocations: 0 / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2146, allocations: 11.98 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2147, allocations: 4 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2148, allocations: 108.2 kB / 0.7894 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.2157, allocations: 0.5936 MB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.216, allocations: 214.4 kB / 0.7902 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2161, allocations: 84.81 kB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.2161, allocations: 0 / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.2165, allocations: 247.5 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.2165, allocations: 3.938 kB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006458/0.2172, allocations: 414.9 kB / 0.7909 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2172, allocations: 63.41 kB / 0.791 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2174, allocations: 195 kB / 0.7912 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.2174, allocations: 41.7 kB / 0.7912 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.2175, allocations: 140.8 kB / 0.7913 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.2176, allocations: 86.89 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2178, allocations: 126.2 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2179, allocations: 346.8 kB / 0.7919 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.2181, allocations: 141 kB / 0.792 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.2185, allocations: 275.2 kB / 0.7923 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.2189, allocations: 423 kB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2189, allocations: 3.938 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008385/0.2198, allocations: 0.5849 MB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.2199, allocations: 97.47 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2199, allocations: 8 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2199, allocations: 4 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.22, allocations: 43.86 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2201, allocations: 11.98 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.2206, allocations: 103.6 kB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.2206, allocations: 35.98 kB / 0.7935 GB, free: 2.688 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.0001746/0.2208, allocations: 179 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.2209, allocations: 23.72 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.2209, allocations: 22.66 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2209, allocations: 4 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2209, allocations: 0 / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.221, allocations: 7.984 kB / 0.7938 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/0.2218, allocations: 0.7055 MB / 0.7944 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2218, allocations: 0 / 0.7944 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.2218, allocations: 16.03 kB / 0.7945 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2219, allocations: 7.922 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.2219, allocations: 11.98 kB / 0.7945 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2219, allocations: 3.938 kB / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2219, allocations: 0 / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.2224, allocations: 436.5 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.2224, allocations: 96.77 kB / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.2225, allocations: 11.98 kB / 0.795 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2226, allocations: 11.98 kB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.2226, allocations: 23.97 kB / 0.795 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.2227, allocations: 19.98 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.471e-05/0.2228, allocations: 126.3 kB / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2228, allocations: 0 / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004038/0.2232, allocations: 91.98 kB / 0.7953 GB, free: 0.8125 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.0007558/0.2239, allocations: 0.9876 MB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006901/0.2246, allocations: 0.5336 MB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2247, allocations: 0 / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2249, allocations: 151.7 kB / 0.7969 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.2252, allocations: 46.7 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.2288, allocations: 3.076 MB / 0.7999 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2291, allocations: 0.745 MB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.2292, allocations: 35.16 kB / 0.8007 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.2293, allocations: 71.59 kB / 0.8008 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.2293, allocations: 0 / 0.8008 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.2552, allocations: 5.904 MB / 0.8065 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.841, allocations: 13.12 kB / 0.8065 GB, free: 5.121 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-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)