Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 192.3 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.135/1.135, allocations: 177.8 MB / 481.2 MB, free: 1.465 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.02 kB / 0.6694 GB, free: 9.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2249, allocations: 95.09 MB / 0.7623 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003199/0.228, allocations: 1.461 MB / 0.7637 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.2289, allocations: 452.8 kB / 0.7641 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.2289, allocations: 0 / 0.7641 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.2289, allocations: 7.922 kB / 0.7641 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.229, allocations: 7.938 kB / 0.7641 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.2292, allocations: 19.92 kB / 0.7642 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2293, allocations: 51.84 kB / 0.7642 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2294, allocations: 19.91 kB / 0.7642 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.2295, allocations: 23.88 kB / 0.7643 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.2295, allocations: 23.91 kB / 0.7643 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2295, allocations: 4 kB / 0.7643 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.2296, allocations: 4 kB / 0.7643 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2296, allocations: 11.98 kB / 0.7643 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.2296, allocations: 19.88 kB / 0.7643 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.2298, allocations: 47.86 kB / 0.7644 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2298, allocations: 0 / 0.7644 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2298, allocations: 7.938 kB / 0.7644 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2298, allocations: 0 / 0.7644 GB, free: 11.55 MB / 0.5762 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.0005269/0.2303, allocations: 359.3 kB / 0.7647 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2303, allocations: 12.03 kB / 0.7647 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.2304, allocations: 8.891 kB / 0.7647 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2305, allocations: 168.3 kB / 0.7649 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2305, allocations: 4.375 kB / 0.7649 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2306, allocations: 8.375 kB / 0.7649 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2307, allocations: 65.92 kB / 0.765 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2307, allocations: 0 / 0.765 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2307, allocations: 0 / 0.765 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2307, allocations: 4 kB / 0.765 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.2308, allocations: 31.91 kB / 0.765 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2312, allocations: 300.7 kB / 0.7653 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2314, allocations: 58.59 kB / 0.7653 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.2314, allocations: 20.95 kB / 0.7654 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.2314, allocations: 0 / 0.7654 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.2315, allocations: 71.38 kB / 0.7654 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.2315, allocations: 0 / 0.7654 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0001965/0.2317, allocations: 101.6 kB / 0.7655 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2318, allocations: 55.41 kB / 0.7656 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.2319, allocations: 113.8 kB / 0.7657 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2319, allocations: 25.7 kB / 0.7657 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.232, allocations: 92.08 kB / 0.7658 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.232, allocations: 19.86 kB / 0.7658 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.232, allocations: 33.64 kB / 0.7659 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2322, allocations: 322.8 kB / 0.7662 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.2322, allocations: 12 kB / 0.7662 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.2323, allocations: 55.3 kB / 0.7662 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.2324, allocations: 67.36 kB / 0.7663 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2324, allocations: 0 / 0.7663 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001412/0.2325, allocations: 93.62 kB / 0.7664 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2325, allocations: 4 kB / 0.7664 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2325, allocations: 0 / 0.7664 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2326, allocations: 8.031 kB / 0.7664 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.2326, allocations: 16.3 kB / 0.7664 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2326, allocations: 0 / 0.7664 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.2327, allocations: 7.953 kB / 0.7664 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2327, allocations: 7.984 kB / 0.7664 GB, free: 9.203 MB / 0.5762 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.0001013/0.2328, allocations: 125.7 kB / 0.7665 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.2328, allocations: 4 kB / 0.7665 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.2329, allocations: 8.031 kB / 0.7666 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2329, allocations: 12.28 kB / 0.7666 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2329, allocations: 0 / 0.7666 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2329, allocations: 3.984 kB / 0.7666 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.2333, allocations: 362.3 kB / 0.7669 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2333, allocations: 0 / 0.7669 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.2333, allocations: 11.92 kB / 0.7669 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2333, allocations: 0 / 0.7669 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2333, allocations: 0 / 0.7669 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2333, allocations: 7.938 kB / 0.7669 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2333, allocations: 0 / 0.7669 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.2335, allocations: 183.5 kB / 0.7671 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2336, allocations: 81.06 kB / 0.7672 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2336, allocations: 0 / 0.7672 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.2337, allocations: 15.92 kB / 0.7672 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2337, allocations: 4 kB / 0.7672 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2337, allocations: 7.984 kB / 0.7672 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.2338, allocations: 83.28 kB / 0.7673 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2338, allocations: 4 kB / 0.7673 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002287/0.234, allocations: 12 kB / 0.7673 GB, free: 8.191 MB / 0.5762 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.0001119/0.2341, allocations: 95.25 kB / 0.7674 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.2343, allocations: 51.91 kB / 0.7674 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2343, allocations: 0 / 0.7674 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.2343, allocations: 32 kB / 0.7675 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2346, allocations: 12.05 kB / 0.7675 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.235, allocations: 195 kB / 0.7677 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2353, allocations: 0.6885 MB / 0.7683 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.2354, allocations: 11.44 kB / 0.7684 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2354, allocations: 0 / 0.7684 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.002692/0.2381, allocations: 0.875 MB / 0.7692 GB, free: 6.18 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.64203379797982] Failed to read output from testmodel.py, exit status != 0: 0.2457216419861652 0.258489169 0.026049379 Calling exit ...