Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 3.022/3.022, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001769/0.00177, allocations: 177 kB / 370.8 MB, free: 10.86 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.09/2.09, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 93.64 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 15.91 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002005/0.2064, allocations: 1.431 MB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.208, allocations: 0.6913 MB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2081, allocations: 4 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.2082, allocations: 11.86 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2084, allocations: 39.91 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.2096, allocations: 353.9 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.21, allocations: 235.5 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2102, allocations: 48.28 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2104, allocations: 143.6 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2106, allocations: 127.5 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.2106, allocations: 20 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2108, allocations: 27.98 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.2108, allocations: 47.81 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.2109, allocations: 73.64 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2113, allocations: 267.6 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2113, allocations: 0 / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2113, allocations: 4 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2113, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 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.0007971/0.2121, allocations: 0.5593 MB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2122, allocations: 12.02 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.2123, allocations: 50.55 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2124, allocations: 35.7 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2136, allocations: 311.5 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.2136, allocations: 28.31 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.2137, allocations: 39.98 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2141, allocations: 172.2 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2142, allocations: 7.938 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.2142, allocations: 4 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2142, allocations: 15.98 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.2145, allocations: 100.2 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2158, allocations: 0.6053 MB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.2162, allocations: 202.4 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2162, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005501/0.2168, allocations: 254.7 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 2.524e-06/0.2168, allocations: 0 / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.001038/0.2179, allocations: 413.3 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.2179, allocations: 67.39 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.2181, allocations: 187 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/0.2182, allocations: 49.69 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2183, allocations: 128.8 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.2184, allocations: 86.89 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.2185, allocations: 20 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2186, allocations: 338.8 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.2191, allocations: 145 kB / 0.9854 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.2196, allocations: 271.2 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.22, allocations: 233 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.22, allocations: 4 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001303/0.2213, allocations: 0.5764 MB / 0.9864 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.2214, allocations: 101.2 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2215, allocations: 7.938 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.2215, allocations: 8 kB / 0.9866 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.2218, allocations: 39.86 kB / 0.9866 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.2218, allocations: 11.94 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.2227, allocations: 131.6 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.2228, allocations: 35.98 kB / 0.9868 GB, free: 19.22 MB / 0.6198 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 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002736/0.2231, allocations: 175 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2232, allocations: 27.7 kB / 0.987 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.2232, allocations: 22.66 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2233, allocations: 4 kB / 0.987 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2233, allocations: 0 / 0.987 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2233, allocations: 7.938 kB / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2245, allocations: 0.7099 MB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2245, allocations: 0 / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2246, allocations: 15.94 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2246, allocations: 4 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.2247, allocations: 11.97 kB / 0.9877 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2247, allocations: 7.953 kB / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2247, allocations: 0 / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.2253, allocations: 426.9 kB / 0.9881 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.2254, allocations: 96.77 kB / 0.9882 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.2255, allocations: 15.98 kB / 0.9882 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2257, allocations: 11.98 kB / 0.9883 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.2257, allocations: 27.92 kB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2258, allocations: 19.92 kB / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.796e-05/0.2259, allocations: 125.2 kB / 0.9884 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2259, allocations: 4 kB / 0.9884 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005967/0.2265, allocations: 91.98 kB / 0.9885 GB, free: 17.34 MB / 0.6198 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 (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.0009318/0.2275, allocations: 0.9761 MB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009956/0.2285, allocations: 0.529 MB / 0.99 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2285, allocations: 3.938 kB / 0.99 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.2288, allocations: 135.9 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2292, allocations: 40.98 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.231, allocations: 3.054 MB / 0.9931 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2313, allocations: 0.7526 MB / 0.9939 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.2315, allocations: 34.97 kB / 0.9939 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2316, allocations: 71.41 kB / 0.994 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2317, allocations: 0 / 0.994 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.2577, allocations: 5.438 MB / 0.9993 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.258, allocations: 192.5 kB / 0.9995 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/2.871, allocations: 0 / 0.9995 GB, free: 6.059 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)