Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.001714/0.001714, allocations: 118.2 kB / 17.13 MB, free: 5.941 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.001992/0.001992, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.513/1.513, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.116/1.116, allocations: 175.7 MB / 479.1 MB, free: 3.441 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.05 kB / 0.6663 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2379, allocations: 94.53 MB / 0.7586 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.00643/0.2443, allocations: 3.731 MB / 0.7623 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2474, allocations: 1.336 MB / 0.7636 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003814/0.2478, allocations: 23.88 kB / 0.7636 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.2482, allocations: 126.6 kB / 0.7637 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.2488, allocations: 182.5 kB / 0.7639 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.25, allocations: 0.5744 MB / 0.7645 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2511, allocations: 0.9565 MB / 0.7654 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.2516, allocations: 245.6 kB / 0.7656 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.2521, allocations: 382.3 kB / 0.766 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.2525, allocations: 354 kB / 0.7663 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.2526, allocations: 76 kB / 0.7664 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2527, allocations: 84 kB / 0.7665 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.2529, allocations: 179.3 kB / 0.7667 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.2532, allocations: 377.7 kB / 0.767 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2543, allocations: 0.8983 MB / 0.7679 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2543, allocations: 0 / 0.7679 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2543, allocations: 0 / 0.7679 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.2543, allocations: 0 / 0.7679 GB, free: 7.621 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002237/0.2565, allocations: 1.21 MB / 0.7691 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2566, allocations: 8.031 kB / 0.7691 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.2567, allocations: 100.3 kB / 0.7692 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2579, allocations: 0.6266 MB / 0.7698 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.258, allocations: 96.95 kB / 0.7699 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.2581, allocations: 56.31 kB / 0.7699 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2592, allocations: 0.6042 MB / 0.7705 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2593, allocations: 3.938 kB / 0.7705 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.2593, allocations: 24 kB / 0.7706 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2593, allocations: 12 kB / 0.7706 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.2604, allocations: 423.7 kB / 0.771 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.2633, allocations: 2.103 MB / 0.773 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.2645, allocations: 491.1 kB / 0.7735 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.265, allocations: 207.3 kB / 0.7737 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.2651, allocations: 4 kB / 0.7737 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/0.2657, allocations: 282.1 kB / 0.774 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.354e-06/0.2657, allocations: 0 / 0.774 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.001528/0.2673, allocations: 0.6142 MB / 0.7746 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.2673, allocations: 84.86 kB / 0.7746 GB, free: 432 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007499/0.2681, allocations: 0.6139 MB / 0.7752 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.2681, allocations: 33.7 kB / 0.7753 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.2684, allocations: 365.2 kB / 0.7756 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.2686, allocations: 158.6 kB / 0.7758 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2687, allocations: 98.19 kB / 0.7759 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2689, allocations: 330 kB / 0.7762 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.2693, allocations: 182.9 kB / 0.7764 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.2699, allocations: 280.2 kB / 0.7766 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.2708, allocations: 471 kB / 0.7771 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2708, allocations: 11.88 kB / 0.7771 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001236/0.272, allocations: 0.6025 MB / 0.7777 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2721, allocations: 37.7 kB / 0.7777 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2721, allocations: 4 kB / 0.7777 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2721, allocations: 4 kB / 0.7777 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.2726, allocations: 111.8 kB / 0.7778 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2726, allocations: 4 kB / 0.7778 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.273, allocations: 71.84 kB / 0.7779 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.273, allocations: 16 kB / 0.7779 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005688/0.2736, allocations: 313.1 kB / 0.7782 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004839/0.2741, allocations: 268.2 kB / 0.7785 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008496/0.2749, allocations: 454 kB / 0.7789 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.275, allocations: 0 / 0.7789 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001099/0.276, allocations: 0.5793 MB / 0.7795 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.2761, allocations: 37.73 kB / 0.7795 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2761, allocations: 4 kB / 0.7795 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.2761, allocations: 4 kB / 0.7795 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.2765, allocations: 107.8 kB / 0.7796 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2765, allocations: 4 kB / 0.7796 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.2769, allocations: 51.7 kB / 0.7797 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2769, allocations: 20 kB / 0.7797 GB, free: 11.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001994/0.2771, allocations: 217.6 kB / 0.7799 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2772, allocations: 83.48 kB / 0.78 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.2774, allocations: 75.2 kB / 0.78 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.2774, allocations: 8 kB / 0.78 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2774, allocations: 0 / 0.78 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2774, allocations: 0 / 0.78 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.2781, allocations: 0.6258 MB / 0.7807 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2781, allocations: 0 / 0.7807 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2786, allocations: 83.89 kB / 0.7807 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.2786, allocations: 4 kB / 0.7807 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2786, allocations: 11.98 kB / 0.7808 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2786, allocations: 0 / 0.7808 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2786, allocations: 0 / 0.7808 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2802, allocations: 0.7407 MB / 0.7815 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.2804, allocations: 192.5 kB / 0.7817 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.2805, allocations: 12 kB / 0.7817 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.2809, allocations: 27.97 kB / 0.7817 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.281, allocations: 39.95 kB / 0.7817 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.281, allocations: 11.98 kB / 0.7817 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005221/0.2815, allocations: 435 kB / 0.7822 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2815, allocations: 0 / 0.7822 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005996/0.2821, allocations: 223.4 kB / 0.7824 GB, free: 8.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001606/0.2823, allocations: 107.3 kB / 0.7825 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.2839, allocations: 0.7502 MB / 0.7832 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2839, allocations: 4.125 kB / 0.7832 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.2844, allocations: 199.8 kB / 0.7834 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.2854, allocations: 211.1 kB / 0.7836 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.2876, allocations: 1.246 MB / 0.7848 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.2882, allocations: 0.9141 MB / 0.7857 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.2884, allocations: 47.44 kB / 0.7858 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.2884, allocations: 0 / 0.7858 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of Templates: time 0.01374/0.3021, allocations: 8.728 MB / 0.7943 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.831763132009655] Failed to read output from testmodel.py, exit status != 0: 0.30986247886903584 0.322556355 0.065548175 Calling exit ...