Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001457/0.001457, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001624/0.001624, allocations: 216.1 kB / 23.01 MB, free: 4.566 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.913/0.913, allocations: 134 MB / 447.2 MB, free: 10.26 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") [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.002015/0.002015, allocations: 70.14 kB / 0.6198 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2323, allocations: 85.9 MB / 0.7036 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004193/0.2365, allocations: 1.517 MB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2377, allocations: 482.8 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2378, allocations: 0 / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.2379, allocations: 3.938 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.238, allocations: 19.92 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2382, allocations: 19.92 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2384, allocations: 51.78 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2385, allocations: 15.98 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.2386, allocations: 19.97 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.2387, allocations: 27.8 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.2388, allocations: 4 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.2388, allocations: 4 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.2388, allocations: 11.98 kB / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.2389, allocations: 23.88 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.239, allocations: 43.8 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.239, allocations: 4 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.239, allocations: 0 / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.239, allocations: 4 kB / 0.7058 GB, free: 14.7 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.0007102/0.2398, allocations: 286.2 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.2398, allocations: 11.97 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.2399, allocations: 4.938 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2401, allocations: 114.5 kB / 0.7062 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2401, allocations: 8.375 kB / 0.7062 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.2401, allocations: 8.375 kB / 0.7062 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2403, allocations: 57.98 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2403, allocations: 3.938 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2403, allocations: 0 / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.2404, allocations: 7.938 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.2405, allocations: 23.98 kB / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.2413, allocations: 263.9 kB / 0.7066 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.2415, allocations: 54.59 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.2415, allocations: 28.94 kB / 0.7067 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2416, allocations: 0 / 0.7067 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.2419, allocations: 71.34 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.2419, allocations: 0 / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003687/0.2423, allocations: 101.5 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.2423, allocations: 59.41 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2425, allocations: 109.7 kB / 0.707 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2425, allocations: 33.7 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.2426, allocations: 88.11 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.2427, allocations: 23.8 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.2427, allocations: 29.7 kB / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.2429, allocations: 326.8 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.243, allocations: 19.98 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.2431, allocations: 46.59 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.2432, allocations: 67.38 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2432, allocations: 0 / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001689/0.2434, allocations: 97.56 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2434, allocations: 4 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2434, allocations: 4.312 kB / 0.7077 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.2434, allocations: 4 kB / 0.7077 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2435, allocations: 11.94 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2435, allocations: 3.984 kB / 0.7077 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.2436, allocations: 8 kB / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2436, allocations: 7.938 kB / 0.7077 GB, free: 12.55 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.000183/0.2438, allocations: 124 kB / 0.7078 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.2438, allocations: 4 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.2439, allocations: 16.05 kB / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2439, allocations: 0 / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.2439, allocations: 4 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2439, allocations: 0 / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.2444, allocations: 333.4 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2444, allocations: 0 / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.2444, allocations: 4 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2444, allocations: 0 / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2444, allocations: 4 kB / 0.7082 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.2445, allocations: 11.94 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2445, allocations: 480 / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2447, allocations: 183.4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.2447, allocations: 4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2447, allocations: 4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.2448, allocations: 7.922 kB / 0.7084 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.2449, allocations: 12.05 kB / 0.7084 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2449, allocations: 8 kB / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.2449, allocations: 87.27 kB / 0.7085 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2449, allocations: 0 / 0.7085 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002531/0.2452, allocations: 16 kB / 0.7085 GB, free: 11.67 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.0001272/0.2453, allocations: 93.5 kB / 0.7086 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2455, allocations: 55.86 kB / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2455, allocations: 0 / 0.7087 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.2456, allocations: 27.97 kB / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2459, allocations: 20.03 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.2463, allocations: 167.3 kB / 0.7089 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2467, allocations: 0.6922 MB / 0.7095 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.2468, allocations: 15.44 kB / 0.7096 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2468, allocations: 0 / 0.7096 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.0031/0.2499, allocations: 0.8743 MB / 0.7104 GB, free: 9.668 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.767749146092683] Failed to read output from testmodel.py, exit status != 0: 0.2581199179403484 0.27349236399999993 0.031291902 Calling exit ...