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.001569/0.001569, allocations: 118.1 kB / 17.13 MB, free: 5.781 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.001563/0.001563, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.15/1.15, allocations: 175.7 MB / 479.1 MB, free: 3.406 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.001928/0.001928, allocations: 70.12 kB / 0.6663 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2168, allocations: 94.53 MB / 0.7586 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.00599/0.2228, allocations: 4.13 MB / 0.7627 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.2257, allocations: 1.328 MB / 0.764 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.2262, allocations: 23.88 kB / 0.764 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.2266, allocations: 126.8 kB / 0.7641 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.227, allocations: 182.4 kB / 0.7643 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.228, allocations: 426.1 kB / 0.7647 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.2291, allocations: 0.9554 MB / 0.7656 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.2297, allocations: 306.2 kB / 0.7659 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.2301, allocations: 334.7 kB / 0.7662 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.2305, allocations: 338.3 kB / 0.7666 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2306, allocations: 92 kB / 0.7666 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2308, allocations: 92 kB / 0.7667 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.2309, allocations: 175.4 kB / 0.7669 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.2313, allocations: 394.1 kB / 0.7673 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2325, allocations: 1.066 MB / 0.7683 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2325, allocations: 4 kB / 0.7683 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2325, allocations: 0 / 0.7683 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.2325, allocations: 0 / 0.7683 GB, free: 7.227 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002015/0.2345, allocations: 1.096 MB / 0.7694 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2346, allocations: 12.03 kB / 0.7694 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2347, allocations: 88.42 kB / 0.7695 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.2357, allocations: 0.5654 MB / 0.77 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.2358, allocations: 49.69 kB / 0.7701 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2359, allocations: 60.38 kB / 0.7701 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.237, allocations: 0.6079 MB / 0.7707 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.2371, allocations: 3.938 kB / 0.7707 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.2371, allocations: 24 kB / 0.7708 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2371, allocations: 20 kB / 0.7708 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2382, allocations: 453 kB / 0.7712 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.2411, allocations: 2.005 MB / 0.7732 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000947/0.2421, allocations: 413.9 kB / 0.7736 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.2426, allocations: 234 kB / 0.7738 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.2426, allocations: 4.438 kB / 0.7738 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005756/0.2432, allocations: 261.2 kB / 0.774 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=49): time 4.458e-06/0.2432, allocations: 3.984 kB / 0.774 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.001421/0.2446, allocations: 0.5885 MB / 0.7746 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2447, allocations: 55.84 kB / 0.7747 GB, free: 496 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.2452, allocations: 442.8 kB / 0.7751 GB, free: 44 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.2452, allocations: 37.64 kB / 0.7751 GB, free: 0 / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2455, allocations: 332.8 kB / 0.7754 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.2457, allocations: 174.5 kB / 0.7756 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.2459, allocations: 98.23 kB / 0.7757 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.246, allocations: 366.7 kB / 0.7761 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.2464, allocations: 161 kB / 0.7762 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.2469, allocations: 253.8 kB / 0.7765 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.2478, allocations: 452 kB / 0.7769 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2478, allocations: 0 / 0.7769 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001115/0.2489, allocations: 0.5666 MB / 0.7774 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.249, allocations: 40.14 kB / 0.7775 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.249, allocations: 4 kB / 0.7775 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.249, allocations: 4 kB / 0.7775 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.2495, allocations: 111.8 kB / 0.7776 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.2495, allocations: 4.25 kB / 0.7776 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2499, allocations: 63.66 kB / 0.7777 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.2499, allocations: 16 kB / 0.7777 GB, free: 13.29 MB / 0.5919 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.0002848/0.2502, allocations: 214.6 kB / 0.7779 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.2503, allocations: 55.61 kB / 0.7779 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.2504, allocations: 65.58 kB / 0.778 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2504, allocations: 8 kB / 0.778 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2505, allocations: 0 / 0.778 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2505, allocations: 7.984 kB / 0.778 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.2523, allocations: 1.178 MB / 0.7792 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2523, allocations: 0 / 0.7792 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.2528, allocations: 91.89 kB / 0.7792 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2528, allocations: 4 kB / 0.7792 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.2529, allocations: 15.98 kB / 0.7793 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.2529, allocations: 4 kB / 0.7793 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2529, allocations: 4 kB / 0.7793 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2543, allocations: 0.7653 MB / 0.78 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.2545, allocations: 172.7 kB / 0.7802 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.2546, allocations: 12 kB / 0.7802 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.2548, allocations: 27.97 kB / 0.7802 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.255, allocations: 32.39 kB / 0.7803 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.255, allocations: 15.94 kB / 0.7803 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000371/0.2554, allocations: 310.9 kB / 0.7806 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2554, allocations: 0 / 0.7806 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004636/0.2558, allocations: 143.7 kB / 0.7807 GB, free: 10.1 MB / 0.5919 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.0001586/0.256, allocations: 107.2 kB / 0.7808 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009799/0.257, allocations: 469 kB / 0.7813 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.257, allocations: 0.5 kB / 0.7813 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.2574, allocations: 202.4 kB / 0.7814 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.2582, allocations: 157.1 kB / 0.7816 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.2611, allocations: 1.4 MB / 0.783 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.2616, allocations: 0.886 MB / 0.7838 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2618, allocations: 51.42 kB / 0.7839 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.2618, allocations: 0 / 0.7839 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of Templates: time 0.01239/0.2742, allocations: 7.685 MB / 0.7914 GB, free: 15.11 MB / 0.6075 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.360448537860066] Failed to read output from testmodel.py, exit status != 0: 0.28198890993371606 0.29520348699999993 0.059839662 Calling exit ...