Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.001442/0.001442, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001699/0.001699, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.797 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.8536/0.8536, allocations: 134 MB / 446.4 MB, free: 9.922 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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") [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.00216/0.00216, allocations: 66.62 kB / 0.6189 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1825, allocations: 85.9 MB / 0.7028 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005706/0.1882, allocations: 3.876 MB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.1916, allocations: 1.605 MB / 0.7082 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.1921, allocations: 43.69 kB / 0.7082 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.1925, allocations: 174.1 kB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006309/0.1931, allocations: 238.1 kB / 0.7086 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1945, allocations: 0.6852 MB / 0.7093 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.1958, allocations: 1.23 MB / 0.7105 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005906/0.1964, allocations: 316.8 kB / 0.7108 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.1971, allocations: 489.9 kB / 0.7113 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.1977, allocations: 429.4 kB / 0.7117 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.1979, allocations: 104 kB / 0.7118 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1981, allocations: 108 kB / 0.7119 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.1983, allocations: 243.1 kB / 0.7121 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.1988, allocations: 389.6 kB / 0.7125 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.2001, allocations: 1.182 MB / 0.7136 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2001, allocations: 0 / 0.7136 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2001, allocations: 0 / 0.7136 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.2001, allocations: 0 / 0.7136 GB, free: 5.445 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00292/0.2031, allocations: 1.483 MB / 0.7151 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2031, allocations: 8.031 kB / 0.7151 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.2034, allocations: 144.1 kB / 0.7152 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.205, allocations: 0.6951 MB / 0.7159 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.2051, allocations: 109.9 kB / 0.716 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2053, allocations: 68.38 kB / 0.7161 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.2069, allocations: 0.9038 MB / 0.717 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2069, allocations: 0 / 0.717 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.207, allocations: 35.98 kB / 0.717 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.207, allocations: 16 kB / 0.717 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2082, allocations: 0.5204 MB / 0.7175 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.2118, allocations: 1.89 MB / 0.7194 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2132, allocations: 0.5885 MB / 0.7199 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.2138, allocations: 258.2 kB / 0.7202 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.2138, allocations: 8.5 kB / 0.7202 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.2146, allocations: 351.9 kB / 0.7205 GB, free: 14.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.455e-06/0.2146, allocations: 0 / 0.7205 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001831/0.2165, allocations: 0.7583 MB / 0.7213 GB, free: 13.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2166, allocations: 107.3 kB / 0.7214 GB, free: 13.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.2175, allocations: 0.7043 MB / 0.722 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.2176, allocations: 41.7 kB / 0.7221 GB, free: 12.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.218, allocations: 444.8 kB / 0.7225 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.2182, allocations: 218.1 kB / 0.7227 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.2184, allocations: 118.2 kB / 0.7228 GB, free: 11.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2186, allocations: 333.9 kB / 0.7232 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.2191, allocations: 211.4 kB / 0.7234 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.2197, allocations: 364.8 kB / 0.7237 GB, free: 10.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.2208, allocations: 0.5009 MB / 0.7242 GB, free: 10.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2208, allocations: 4 kB / 0.7242 GB, free: 10.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001461/0.2223, allocations: 0.6644 MB / 0.7248 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2223, allocations: 8.25 kB / 0.7249 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2223, allocations: 7.984 kB / 0.7249 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2223, allocations: 4 kB / 0.7249 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/0.2232, allocations: 139.8 kB / 0.725 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.2232, allocations: 11.98 kB / 0.725 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2237, allocations: 67.58 kB / 0.7251 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.2238, allocations: 24 kB / 0.7251 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007451/0.2245, allocations: 361.4 kB / 0.7254 GB, free: 8.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005682/0.2251, allocations: 352.8 kB / 0.7258 GB, free: 8.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009862/0.2261, allocations: 0.4892 MB / 0.7263 GB, free: 8.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.2261, allocations: 0 / 0.7263 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001291/0.2274, allocations: 0.6333 MB / 0.7269 GB, free: 7.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2274, allocations: 4 kB / 0.7269 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2274, allocations: 4 kB / 0.7269 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.2274, allocations: 4.094 kB / 0.7269 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.2282, allocations: 148 kB / 0.727 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2282, allocations: 11.94 kB / 0.727 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.2286, allocations: 55.7 kB / 0.7271 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.2287, allocations: 24 kB / 0.7271 GB, free: 7.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002455/0.2289, allocations: 220 kB / 0.7273 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2291, allocations: 95.38 kB / 0.7274 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2293, allocations: 96.56 kB / 0.7275 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.2293, allocations: 4 kB / 0.7275 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.2293, allocations: 7.984 kB / 0.7275 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2293, allocations: 3.938 kB / 0.7275 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.2317, allocations: 1.234 MB / 0.7287 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2317, allocations: 0 / 0.7287 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.2323, allocations: 107.9 kB / 0.7288 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2323, allocations: 0 / 0.7288 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.2324, allocations: 15.94 kB / 0.7288 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.2324, allocations: 7.938 kB / 0.7289 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2324, allocations: 0 / 0.7289 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.2343, allocations: 0.9704 MB / 0.7298 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.2346, allocations: 143.2 kB / 0.7299 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.2347, allocations: 15.94 kB / 0.73 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.2352, allocations: 43.89 kB / 0.73 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.2353, allocations: 32.44 kB / 0.73 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2354, allocations: 19.98 kB / 0.73 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000697/0.236, allocations: 495 kB / 0.7305 GB, free: 3.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.236, allocations: 0 / 0.7305 GB, free: 3.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008391/0.2369, allocations: 287.1 kB / 0.7308 GB, free: 3.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001706/0.2371, allocations: 117.8 kB / 0.7309 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.2389, allocations: 0.7646 MB / 0.7316 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2389, allocations: 0 / 0.7316 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.2395, allocations: 259.4 kB / 0.7319 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.2407, allocations: 263 kB / 0.7321 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.2438, allocations: 1.563 MB / 0.7337 GB, free: 368 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.2443, allocations: 405.6 kB / 0.7341 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006116/0.2449, allocations: 122.1 kB / 0.7342 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.2451, allocations: 63.42 kB / 0.7342 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.2451, allocations: 0 / 0.7342 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.02208/0.2672, allocations: 10.68 MB / 0.7447 GB, free: 5.285 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.508717214688659] Failed to read output from testmodel.py, exit status != 0: 0.27637602388858795 0.59044823 0.387304856 Calling exit ...