Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 179.7 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009467, allocations: 92.41 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006368/0.000637, allocations: 12.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2109, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001756/0.2127, allocations: 1.177 MB / 0.9006 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.2135, allocations: 475.9 kB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.2136, allocations: 0 / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.2136, allocations: 0 / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.2137, allocations: 11.91 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2139, allocations: 11.98 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.214, allocations: 47.86 kB / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2141, allocations: 11.98 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2142, allocations: 19.92 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.2143, allocations: 23.91 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2143, allocations: 4 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.2143, allocations: 0 / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.2143, allocations: 7.938 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.2144, allocations: 37.69 kB / 0.9013 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.692e-05/0.2145, allocations: 23.95 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2145, allocations: 4 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2145, allocations: 0 / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2145, allocations: 0 / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004997/0.215, allocations: 359.6 kB / 0.9016 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2151, allocations: 11.97 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.2151, allocations: 8.844 kB / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2152, allocations: 164.3 kB / 0.9018 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2153, allocations: 8.375 kB / 0.9018 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.2153, allocations: 8.375 kB / 0.9018 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2154, allocations: 57.98 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2155, allocations: 0 / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2155, allocations: 4 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2155, allocations: 4 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.2156, allocations: 31.91 kB / 0.9019 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.2162, allocations: 312.6 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2163, allocations: 62.53 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.2164, allocations: 20.95 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2164, allocations: 0 / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.2166, allocations: 75.38 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.2166, allocations: 0 / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002778/0.2169, allocations: 101.5 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.217, allocations: 59.41 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.217, allocations: 101.8 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2171, allocations: 33.7 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.2171, allocations: 80.14 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2172, allocations: 19.72 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.2172, allocations: 384 / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.2172, allocations: 326.8 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.2173, allocations: 15.94 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.2174, allocations: 47.42 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/0.2175, allocations: 23.94 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2175, allocations: 0 / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001817/0.2177, allocations: 93.52 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2177, allocations: 8 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2177, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2177, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2178, allocations: 23.95 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2179, allocations: 4 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.218, allocations: 7.938 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.218, allocations: 4 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.113e-05/0.2181, allocations: 122.9 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.2181, allocations: 4 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2181, allocations: 7.969 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2182, allocations: 0 / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2182, allocations: 4 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.2182, allocations: 88.95 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2182, allocations: 15.86 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.2183, allocations: 4 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2184, allocations: 8.266 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002735/0.2187, allocations: 172.9 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001964/0.2189, allocations: 258.8 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.761e-05/0.219, allocations: 35.92 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.219, allocations: 87.2 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of Backend: time 7.62e-07/0.219, allocations: 192 / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.2195, allocations: 107.9 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004985/0.22, allocations: 0.5995 MB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.003512/0.2235, allocations: 0.6764 MB / 0.9054 GB, free: 59.14 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)