Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001483/0.001483, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001295/0.001295, allocations: 191.7 kB / 20.03 MB, free: 2.949 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.23 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/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.213/1.213, allocations: 173.4 MB / 471.3 MB, free: 6.66 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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 65.91 kB / 0.6489 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2237, allocations: 89.53 MB / 0.7364 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006275/0.23, allocations: 4.094 MB / 0.7404 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.2331, allocations: 1.325 MB / 0.7417 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.2339, allocations: 23.88 kB / 0.7417 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.2345, allocations: 130.7 kB / 0.7418 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.2351, allocations: 178.4 kB / 0.742 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2361, allocations: 425.5 kB / 0.7424 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.2371, allocations: 0.9477 MB / 0.7433 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.2378, allocations: 466.1 kB / 0.7438 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.2382, allocations: 330.7 kB / 0.7441 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.2386, allocations: 338.4 kB / 0.7444 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2387, allocations: 88 kB / 0.7445 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2388, allocations: 92 kB / 0.7446 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.239, allocations: 179.4 kB / 0.7447 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.2394, allocations: 386.1 kB / 0.7451 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2406, allocations: 1.074 MB / 0.7462 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2406, allocations: 0 / 0.7462 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2406, allocations: 0 / 0.7462 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.2406, allocations: 0 / 0.7462 GB, free: 9.613 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001939/0.2426, allocations: 1.104 MB / 0.7472 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2426, allocations: 8.031 kB / 0.7472 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2428, allocations: 88.42 kB / 0.7473 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.2437, allocations: 0.5616 MB / 0.7479 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.2438, allocations: 45.69 kB / 0.7479 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.2439, allocations: 56.38 kB / 0.748 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.245, allocations: 0.6078 MB / 0.7486 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.245, allocations: 3.984 kB / 0.7486 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.2451, allocations: 28 kB / 0.7486 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.2451, allocations: 12 kB / 0.7486 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.2461, allocations: 464.9 kB / 0.7491 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.249, allocations: 2.001 MB / 0.751 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.2499, allocations: 437 kB / 0.7514 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.2504, allocations: 250 kB / 0.7517 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2505, allocations: 4.438 kB / 0.7517 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.2511, allocations: 261.3 kB / 0.7519 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.2511, allocations: 0 / 0.7519 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001362/0.2524, allocations: 0.5885 MB / 0.7525 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.2525, allocations: 63.78 kB / 0.7526 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.2531, allocations: 446.7 kB / 0.753 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.2531, allocations: 33.7 kB / 0.753 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.2534, allocations: 324.9 kB / 0.7533 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2536, allocations: 182.5 kB / 0.7535 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2537, allocations: 90.25 kB / 0.7536 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.2539, allocations: 370.8 kB / 0.7539 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.2543, allocations: 165 kB / 0.7541 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.2548, allocations: 249.8 kB / 0.7543 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.2557, allocations: 452 kB / 0.7548 GB, free: 480 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2557, allocations: 0 / 0.7548 GB, free: 480 kB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001092/0.2568, allocations: 0.5627 MB / 0.7553 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.2568, allocations: 41.62 kB / 0.7554 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2568, allocations: 0 / 0.7554 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2569, allocations: 7.984 kB / 0.7554 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.2574, allocations: 115.8 kB / 0.7555 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2574, allocations: 4 kB / 0.7555 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.2577, allocations: 55.92 kB / 0.7555 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.2578, allocations: 23.98 kB / 0.7556 GB, free: 15.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002777/0.2581, allocations: 209.7 kB / 0.7558 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2581, allocations: 63.61 kB / 0.7558 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2583, allocations: 61.58 kB / 0.7559 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2583, allocations: 4 kB / 0.7559 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2583, allocations: 0 / 0.7559 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2583, allocations: 0 / 0.7559 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.2601, allocations: 1.186 MB / 0.757 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2602, allocations: 4 kB / 0.757 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.2606, allocations: 95.88 kB / 0.7571 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2607, allocations: 0 / 0.7571 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.2607, allocations: 8 kB / 0.7571 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2607, allocations: 4 kB / 0.7571 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.2607, allocations: 7.984 kB / 0.7571 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2621, allocations: 0.7692 MB / 0.7579 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.2623, allocations: 172.7 kB / 0.7581 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.2624, allocations: 16 kB / 0.7581 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2626, allocations: 23.91 kB / 0.7581 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.2627, allocations: 36.39 kB / 0.7581 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.2628, allocations: 12 kB / 0.7581 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000357/0.2631, allocations: 310.9 kB / 0.7584 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2631, allocations: 0 / 0.7584 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004482/0.2636, allocations: 139.7 kB / 0.7586 GB, free: 12.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001692/0.2638, allocations: 115.2 kB / 0.7587 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009708/0.2648, allocations: 481 kB / 0.7591 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2648, allocations: 0 / 0.7591 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.2652, allocations: 222.8 kB / 0.7594 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.266, allocations: 161.6 kB / 0.7595 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.2687, allocations: 1.408 MB / 0.7609 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.2692, allocations: 0.8821 MB / 0.7617 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2694, allocations: 47.42 kB / 0.7618 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2694, allocations: 4 kB / 0.7618 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.0114/0.2808, allocations: 7.654 MB / 0.7693 GB, free: 1.457 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.16053774394095] Failed to read output from testmodel.py, exit status != 0: 0.2873716801404953 0.29994687099999995 0.05693840100000001 Calling exit ...