Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001425/0.001425, allocations: 165.8 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205 MB / 0.5766 GB, free: 20.98 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.000792/0.0007923, allocations: 97.22 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 11.7 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001684/0.2229, allocations: 1.196 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.2237, allocations: 496.9 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.2238, allocations: 4 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.2239, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.224, allocations: 11.92 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2241, allocations: 19.97 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.2242, allocations: 43.86 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2244, allocations: 19.92 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.2244, allocations: 15.88 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.2245, allocations: 19.91 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2245, allocations: 4 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.2245, allocations: 4 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.2246, allocations: 11.94 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.2246, allocations: 19.91 kB / 0.8985 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.409e-05/0.2247, allocations: 27.95 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2247, allocations: 0 / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2247, allocations: 0 / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2247, allocations: 0 / 0.8986 GB, free: 66.26 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.0004623/0.2252, allocations: 359.4 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2252, allocations: 8.031 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.2253, allocations: 12.78 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.2254, allocations: 168.3 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2254, allocations: 4.375 kB / 0.8991 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2254, allocations: 4.375 kB / 0.8991 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2255, allocations: 61.98 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2256, allocations: 0 / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2256, allocations: 0 / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2256, allocations: 0 / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.2256, allocations: 35.92 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.2261, allocations: 304.6 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.2262, allocations: 62.59 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.2262, allocations: 24.95 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2263, allocations: 0 / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.2264, allocations: 75.36 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2264, allocations: 0 / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002022/0.2266, allocations: 105.5 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2267, allocations: 55.41 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.2268, allocations: 109.8 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2268, allocations: 29.7 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.2268, allocations: 87.98 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2268, allocations: 15.81 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.2269, allocations: 21.7 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.2269, allocations: 322.8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.227, allocations: 15.98 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.227, allocations: 51.42 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.2271, allocations: 63.55 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2271, allocations: 3.984 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001168/0.2272, allocations: 97.53 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2272, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.2273, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2273, allocations: 7.938 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.2273, allocations: 19.95 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2274, allocations: 4 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.2274, allocations: 8 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2275, allocations: 4 kB / 0.9006 GB, free: 63.91 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.2275, allocations: 121.8 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2276, allocations: 7.906 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.2276, allocations: 7.969 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2276, allocations: 0 / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2276, allocations: 4 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2276, allocations: 0 / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.2279, allocations: 370.4 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2279, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.228, allocations: 7.922 kB / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.228, allocations: 4 kB / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.228, allocations: 0 / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.228, allocations: 8.406 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.228, allocations: 0 / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.2281, allocations: 187.3 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.2282, allocations: 81.11 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2282, allocations: 0 / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.2283, allocations: 11.92 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.2283, allocations: 8 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2283, allocations: 11.98 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.2284, allocations: 79.28 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2284, allocations: 0 / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002206/0.2286, allocations: 16 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001183/0.2287, allocations: 96.61 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2289, allocations: 56 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2289, allocations: 3.938 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.2289, allocations: 20.06 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2292, allocations: 24.06 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.2296, allocations: 200.8 kB / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2298, allocations: 0.6926 MB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.2298, allocations: 15.38 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2298, allocations: 0 / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.002186/0.232, allocations: 0.8572 MB / 0.9034 GB, free: 60.88 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)