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.001512/0.001512, 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.001929/0.001929, allocations: 215.2 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9585/0.9585, allocations: 134 MB / 447.2 MB, free: 10.23 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.00204/0.00204, allocations: 70.73 kB / 0.6197 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.221, allocations: 85.89 MB / 0.7036 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003231/0.2243, allocations: 1.504 MB / 0.7051 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2253, allocations: 494.7 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.2254, allocations: 4 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.2254, allocations: 3.938 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2255, allocations: 7.922 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.2257, allocations: 23.92 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2258, allocations: 51.84 kB / 0.7057 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2259, allocations: 11.98 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.226, allocations: 23.92 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.2261, allocations: 23.8 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2261, allocations: 4 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.2261, allocations: 4 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.2262, allocations: 15.98 kB / 0.7057 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.2262, allocations: 23.86 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2263, allocations: 43.81 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2264, allocations: 0 / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2264, allocations: 0 / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2264, allocations: 0 / 0.7058 GB, free: 14.68 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.000664/0.227, allocations: 294.2 kB / 0.7061 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2271, allocations: 8.031 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.2271, allocations: 4.938 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2273, allocations: 122.4 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2273, allocations: 4.375 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2273, allocations: 8.375 kB / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2274, allocations: 54 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2275, allocations: 0 / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2275, allocations: 0 / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2275, allocations: 4 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.2276, allocations: 35.84 kB / 0.7063 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.2281, allocations: 263.9 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.2283, allocations: 54.59 kB / 0.7066 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.2283, allocations: 24.95 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2283, allocations: 0 / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2286, allocations: 75.33 kB / 0.7067 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2286, allocations: 4 kB / 0.7067 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002607/0.2288, allocations: 101.5 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.2289, allocations: 63.39 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.229, allocations: 105.8 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.229, allocations: 29.7 kB / 0.707 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.2291, allocations: 84.14 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2291, allocations: 23.8 kB / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.2292, allocations: 29.7 kB / 0.7071 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2293, allocations: 330.7 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.2294, allocations: 16 kB / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.2294, allocations: 42.59 kB / 0.7075 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.2295, allocations: 67.55 kB / 0.7076 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2295, allocations: 0 / 0.7076 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001527/0.2297, allocations: 101.6 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2297, allocations: 8 kB / 0.7077 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2297, allocations: 0 / 0.7077 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.2297, allocations: 7.984 kB / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.2298, allocations: 11.94 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2298, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.2299, allocations: 7.984 kB / 0.7077 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.2299, allocations: 4 kB / 0.7077 GB, free: 12.53 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.0001214/0.23, allocations: 128 kB / 0.7078 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.23, allocations: 4 kB / 0.7078 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.2301, allocations: 12 kB / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2301, allocations: 0 / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2301, allocations: 0 / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2301, allocations: 4 kB / 0.7078 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2305, allocations: 333.4 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2305, allocations: 0 / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.2306, allocations: 11.92 kB / 0.7082 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2306, allocations: 4 kB / 0.7082 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2306, allocations: 0 / 0.7082 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2306, allocations: 8 kB / 0.7082 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2306, allocations: 4.469 kB / 0.7082 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.2308, allocations: 191.4 kB / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-06/0.2308, allocations: 0 / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2308, allocations: 0 / 0.7084 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.2309, allocations: 15.92 kB / 0.7084 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2309, allocations: 11.98 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.231, allocations: 4 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.231, allocations: 83.28 kB / 0.7085 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.231, allocations: 0 / 0.7085 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002276/0.2312, allocations: 12 kB / 0.7085 GB, free: 11.64 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.0001148/0.2314, allocations: 95.25 kB / 0.7086 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.2315, allocations: 51.91 kB / 0.7086 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2315, allocations: 4.062 kB / 0.7086 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.2316, allocations: 23.94 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2319, allocations: 12.41 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.2324, allocations: 187.2 kB / 0.7088 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2327, allocations: 0.6922 MB / 0.7095 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.2328, allocations: 11.44 kB / 0.7095 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.2328, allocations: 4 kB / 0.7095 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.002707/0.2355, allocations: 0.8701 MB / 0.7104 GB, free: 9.633 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.885945414192975] Failed to read output from testmodel.py, exit status != 0: 0.24432000517845154 0.26085742500000003 0.03103962 Calling exit ...