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.001526/0.001526, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001767/0.001767, allocations: 155.9 kB / 23.01 MB, free: 4.605 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.789/0.789, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002467/0.002467, allocations: 66.64 kB / 0.5356 GB, free: 5.281 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1891, allocations: 85.88 MB / 0.6195 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002944/0.192, allocations: 1.489 MB / 0.6209 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.1929, allocations: 454.8 kB / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.193, allocations: 0 / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.193, allocations: 3.938 kB / 0.6213 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.1931, allocations: 15.92 kB / 0.6214 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1933, allocations: 19.91 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1934, allocations: 47.91 kB / 0.6214 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1935, allocations: 12 kB / 0.6214 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.1936, allocations: 27.86 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.1936, allocations: 11.92 kB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1936, allocations: 4 kB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.1936, allocations: 4 kB / 0.6215 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.1937, allocations: 23.91 kB / 0.6215 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1937, allocations: 15.92 kB / 0.6215 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1938, allocations: 43.83 kB / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1938, allocations: 0 / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1938, allocations: 0 / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1939, allocations: 0 / 0.6216 GB, free: 15.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.0005475/0.1944, allocations: 296.7 kB / 0.6218 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1944, allocations: 8.031 kB / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1945, allocations: 16.88 kB / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1946, allocations: 110.5 kB / 0.622 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1946, allocations: 12.3 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1946, allocations: 8.375 kB / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1948, allocations: 58 kB / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1948, allocations: 0 / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1948, allocations: 0 / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1948, allocations: 4 kB / 0.6221 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.1949, allocations: 19.98 kB / 0.6221 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1953, allocations: 244.4 kB / 0.6223 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1954, allocations: 50.56 kB / 0.6224 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.1955, allocations: 16.95 kB / 0.6224 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1955, allocations: 11.98 kB / 0.6224 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.1957, allocations: 75.38 kB / 0.6225 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1957, allocations: 0 / 0.6225 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.00024/0.1959, allocations: 101.6 kB / 0.6226 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.196, allocations: 55.41 kB / 0.6226 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1961, allocations: 109.8 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1961, allocations: 29.7 kB / 0.6227 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.1961, allocations: 80.14 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1962, allocations: 27.78 kB / 0.6228 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.1962, allocations: 29.7 kB / 0.6229 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1964, allocations: 327.1 kB / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.1964, allocations: 16 kB / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.1965, allocations: 51.36 kB / 0.6232 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.1966, allocations: 63.61 kB / 0.6233 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1966, allocations: 7.875 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.1967, allocations: 97.5 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1967, allocations: 8 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1967, allocations: 3.984 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1968, allocations: 0 / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.1968, allocations: 8 kB / 0.6234 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1968, allocations: 8.031 kB / 0.6234 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.1969, allocations: 7.984 kB / 0.6234 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1969, allocations: 8 kB / 0.6234 GB, free: 13.3 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.0001003/0.197, allocations: 125.4 kB / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.197, allocations: 4.062 kB / 0.6236 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.1971, allocations: 12.12 kB / 0.6236 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1971, allocations: 0 / 0.6236 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1971, allocations: 0 / 0.6236 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1971, allocations: 0 / 0.6236 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1975, allocations: 310 kB / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1975, allocations: 4 kB / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.1975, allocations: 4 kB / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1975, allocations: 4 kB / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1975, allocations: 0 / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1975, allocations: 0 / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1975, allocations: 0 / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1977, allocations: 191.4 kB / 0.6241 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.1977, allocations: 0 / 0.6241 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1977, allocations: 3.984 kB / 0.6241 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.1978, allocations: 8 kB / 0.6241 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.1979, allocations: 15.92 kB / 0.6241 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1979, allocations: 7.938 kB / 0.6241 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.1979, allocations: 83.45 kB / 0.6242 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 0 / 0.6242 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002379/0.1981, allocations: 19.94 kB / 0.6242 GB, free: 12.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.0001008/0.1982, allocations: 91.25 kB / 0.6243 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1984, allocations: 51.92 kB / 0.6243 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1984, allocations: 0 / 0.6243 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.1985, allocations: 31.98 kB / 0.6244 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1987, allocations: 14.91 kB / 0.6244 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.1992, allocations: 165.3 kB / 0.6245 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.433e-05/0.1993, allocations: 71.28 kB / 0.6246 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.1993, allocations: 7.984 kB / 0.6246 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.1993, allocations: 12.5 kB / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1993, allocations: 0 / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.003473/0.2028, allocations: 0.8027 MB / 0.6254 GB, free: 11.2 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.582105773035437] Failed to read output from testmodel.py, exit status != 0: 0.21192307397723198 0.226556838 0.029614635 Calling exit ...