Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 222.6 kB / 22.25 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.139/1.139, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 73.83 kB / 0.6189 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2018, allocations: 85.9 MB / 0.7028 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003531/0.2054, allocations: 1.478 MB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2065, allocations: 462.8 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2065, allocations: 0 / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.2065, allocations: 3.938 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.2066, allocations: 11.92 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.2068, allocations: 27.92 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2069, allocations: 51.83 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.207, allocations: 8 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.2071, allocations: 27.86 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.2072, allocations: 19.91 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2072, allocations: 4 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.2072, allocations: 4 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.2073, allocations: 8 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.2073, allocations: 15.92 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2074, allocations: 47.75 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2074, allocations: 4 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2074, allocations: 0 / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.2075, allocations: 0 / 0.7049 GB, free: 14.43 MB / 0.5294 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.0005701/0.208, allocations: 294.2 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2081, allocations: 12.03 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2081, allocations: 0.9375 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2083, allocations: 114.5 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2083, allocations: 8.312 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2083, allocations: 8.375 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2084, allocations: 54 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2084, allocations: 4 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2085, allocations: 3.984 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2085, allocations: 4 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.2085, allocations: 23.98 kB / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.2091, allocations: 236.4 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2092, allocations: 50.56 kB / 0.7057 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.2093, allocations: 24.94 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.2093, allocations: 0 / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.2095, allocations: 83.31 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2095, allocations: 3.938 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002895/0.2098, allocations: 101.6 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.2098, allocations: 55.41 kB / 0.706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.21, allocations: 109.8 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.21, allocations: 29.7 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.2101, allocations: 84.14 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2101, allocations: 23.78 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.2102, allocations: 29.72 kB / 0.7062 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2103, allocations: 322.8 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.2104, allocations: 20 kB / 0.7066 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2104, allocations: 50.31 kB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2105, allocations: 63.42 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2105, allocations: 0 / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001829/0.2107, allocations: 105.7 kB / 0.7068 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2107, allocations: 8 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2107, allocations: 0 / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2108, allocations: 4 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.2108, allocations: 8 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2108, allocations: 0 / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.2109, allocations: 16.02 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2109, allocations: 4 kB / 0.7068 GB, free: 12.31 MB / 0.5294 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 0.0001157/0.211, allocations: 121.7 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2111, allocations: 4 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.2111, allocations: 8.062 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2111, allocations: 0 / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2111, allocations: 4 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2111, allocations: 0 / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.2115, allocations: 314.3 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2116, allocations: 4 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.2116, allocations: 7.938 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2116, allocations: 0 / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2116, allocations: 0 / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2116, allocations: 3.984 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2116, allocations: 0 / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.2118, allocations: 191.4 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.2118, allocations: 0 / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2118, allocations: 7.984 kB / 0.7074 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.2119, allocations: 0 / 0.7074 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.212, allocations: 19.92 kB / 0.7075 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.212, allocations: 7.938 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.212, allocations: 87.27 kB / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.212, allocations: 0 / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002391/0.2123, allocations: 12 kB / 0.7076 GB, free: 11.47 MB / 0.5294 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.0001165/0.2124, allocations: 97.92 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2126, allocations: 47.92 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2126, allocations: 0 / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.2126, allocations: 27.92 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2129, allocations: 22.22 kB / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.2134, allocations: 161.5 kB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.98e-05/0.2135, allocations: 71.2 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.2136, allocations: 4.359 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.2136, allocations: 11.44 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.2136, allocations: 4 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.003858/0.2175, allocations: 0.8288 MB / 0.7088 GB, free: 10.18 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.282949324697256] Failed to read output from testmodel.py, exit status != 0: 0.226198622956872 0.24313847100000002 0.032361238 Calling exit ...