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.001968/0.001968, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002475/0.002475, allocations: 221.5 kB / 23 MB, free: 4.91 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 0.8598/0.8598, allocations: 134 MB / 447.2 MB, free: 9.953 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.001993/0.001993, allocations: 70.45 kB / 0.6197 GB, free: 6.445 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2023, allocations: 85.91 MB / 0.7036 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00296/0.2053, allocations: 1.482 MB / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.2062, allocations: 454.8 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.2062, allocations: 4 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.2062, allocations: 0 / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.2063, allocations: 19.84 kB / 0.7055 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2065, allocations: 15.98 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2066, allocations: 59.78 kB / 0.7055 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2067, allocations: 4 kB / 0.7055 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.2068, allocations: 23.97 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.2069, allocations: 19.86 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.2069, allocations: 4 kB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.2069, allocations: 4 kB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2069, allocations: 15.98 kB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.207, allocations: 15.92 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2071, allocations: 55.69 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2071, allocations: 0 / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2071, allocations: 0 / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2071, allocations: 0 / 0.7057 GB, free: 14.44 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.0005466/0.2077, allocations: 294.1 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2077, allocations: 8.031 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2077, allocations: 4.938 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2079, allocations: 114.5 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2079, allocations: 8.375 kB / 0.7061 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2079, allocations: 8.375 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.208, allocations: 57.94 kB / 0.7061 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.208, allocations: 0 / 0.7061 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.208, allocations: 0 / 0.7061 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.208, allocations: 4 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.854e-05/0.2081, allocations: 27.97 kB / 0.7062 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.2086, allocations: 232.4 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2087, allocations: 50.56 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.2088, allocations: 24.94 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2088, allocations: 4 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.2089, allocations: 75.38 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2089, allocations: 0 / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002388/0.2092, allocations: 101.6 kB / 0.7066 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2092, allocations: 55.41 kB / 0.7067 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2093, allocations: 113.8 kB / 0.7068 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2094, allocations: 29.7 kB / 0.7068 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2094, allocations: 84.12 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.2094, allocations: 32.16 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.2095, allocations: 33.66 kB / 0.707 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2096, allocations: 322.8 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.2097, allocations: 12 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.2098, allocations: 51.36 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2099, allocations: 71.36 kB / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2099, allocations: 0 / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.21, allocations: 89.58 kB / 0.7075 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.21, allocations: 14.17 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.21, allocations: 3.938 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.21, allocations: 4.031 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.2101, allocations: 8 kB / 0.7075 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2101, allocations: 4 kB / 0.7075 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.2102, allocations: 11.98 kB / 0.7075 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2102, allocations: 4 kB / 0.7075 GB, free: 12.33 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.0001059/0.2103, allocations: 121.7 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.2103, allocations: 4 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.2103, allocations: 8.062 kB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.2103, allocations: 0 / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2103, allocations: 4 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2103, allocations: 4 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.2107, allocations: 310 kB / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2107, allocations: 0 / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.2107, allocations: 4 kB / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2107, allocations: 0 / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.2108, allocations: 0 / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2108, allocations: 0 / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2108, allocations: 3.984 kB / 0.708 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.211, allocations: 191.4 kB / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.211, allocations: 4 kB / 0.7082 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.211, allocations: 8.203 kB / 0.7082 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.2111, allocations: 8.062 kB / 0.7082 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2111, allocations: 12.17 kB / 0.7082 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2111, allocations: 7.938 kB / 0.7082 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.2112, allocations: 95.19 kB / 0.7083 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 0 / 0.7083 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002284/0.2114, allocations: 12 kB / 0.7083 GB, free: 11.48 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 9.765e-05/0.2115, allocations: 99.19 kB / 0.7084 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2116, allocations: 51.92 kB / 0.7085 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2116, allocations: 0 / 0.7085 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.2117, allocations: 23.98 kB / 0.7085 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.0002749/0.212, allocations: 18.23 kB / 0.7085 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.2124, allocations: 191.2 kB / 0.7087 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.24e-05/0.2125, allocations: 71.2 kB / 0.7087 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2125, allocations: 11.44 kB / 0.7088 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2125, allocations: 4.062 kB / 0.7088 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of Templates: time 0.002339/0.2148, allocations: 0.8635 MB / 0.7096 GB, free: 10.1 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: 8.10599890910089] Failed to read output from testmodel.py, exit status != 0: 0.22237200709059834 0.23709901700000002 0.027044404 Calling exit ...