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.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.0007314/0.0007314, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.000691/0.000691, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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 0.8558/0.8558, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7228/0.7228, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.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: 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.0008479/0.0008479, allocations: 61.94 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4121, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003192/0.4152, allocations: 3.738 MB / 0.8226 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.4167, allocations: 1.335 MB / 0.8239 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.4169, allocations: 27.78 kB / 0.824 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.4171, allocations: 127.1 kB / 0.8241 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.4174, allocations: 182.2 kB / 0.8243 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.4179, allocations: 429.1 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.4185, allocations: 0.9433 MB / 0.8256 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.4189, allocations: 291.5 kB / 0.8259 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.4192, allocations: 342.8 kB / 0.8262 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.4194, allocations: 298.8 kB / 0.8265 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.4195, allocations: 91.22 kB / 0.8266 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.4196, allocations: 94.25 kB / 0.8267 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.4197, allocations: 173.8 kB / 0.8268 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.4199, allocations: 308.9 kB / 0.8271 GB, free: 12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008187/0.4207, allocations: 1.074 MB / 0.8282 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4207, allocations: 5.719 kB / 0.8282 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4207, allocations: 0 / 0.8282 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4207, allocations: 0 / 0.8282 GB, free: 11.55 MB / 0.6198 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.001265/0.422, allocations: 1.076 MB / 0.8292 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.422, allocations: 9.438 kB / 0.8292 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4221, allocations: 87.23 kB / 0.8293 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.4227, allocations: 0.506 MB / 0.8298 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4228, allocations: 45.84 kB / 0.8299 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.4228, allocations: 64.56 kB / 0.8299 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.4236, allocations: 0.6602 MB / 0.8306 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4236, allocations: 9.578 kB / 0.8306 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.4236, allocations: 21.86 kB / 0.8306 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4236, allocations: 14.09 kB / 0.8306 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.4243, allocations: 455.3 kB / 0.831 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.4262, allocations: 1.698 MB / 0.8327 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.4267, allocations: 428.9 kB / 0.8331 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.427, allocations: 219.4 kB / 0.8333 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.427, allocations: 6.719 kB / 0.8333 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.4274, allocations: 258.4 kB / 0.8336 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.4274, allocations: 0 / 0.8336 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.0007939/0.4282, allocations: 0.5859 MB / 0.8341 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.4282, allocations: 58.06 kB / 0.8342 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.4285, allocations: 428.9 kB / 0.8346 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4286, allocations: 36.89 kB / 0.8346 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.4287, allocations: 336 kB / 0.835 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.4288, allocations: 177 kB / 0.8351 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-05/0.4289, allocations: 100.1 kB / 0.8352 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.429, allocations: 364 kB / 0.8356 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.4293, allocations: 193.3 kB / 0.8358 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.4296, allocations: 278.9 kB / 0.836 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.43, allocations: 456.9 kB / 0.8365 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4301, allocations: 0 / 0.8365 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006459/0.4307, allocations: 0.5914 MB / 0.837 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4307, allocations: 32.5 kB / 0.8371 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4307, allocations: 10.89 kB / 0.8371 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4307, allocations: 4.844 kB / 0.8371 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.431, allocations: 112.5 kB / 0.8372 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.431, allocations: 5.094 kB / 0.8372 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4312, allocations: 65.48 kB / 0.8373 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.4312, allocations: 18.95 kB / 0.8373 GB, free: 6.043 MB / 0.6198 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001624/0.4314, allocations: 207.7 kB / 0.8375 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4314, allocations: 53.7 kB / 0.8375 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.4315, allocations: 64.12 kB / 0.8376 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4315, allocations: 5.625 kB / 0.8376 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4315, allocations: 0 / 0.8376 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4315, allocations: 4 kB / 0.8376 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.4326, allocations: 0.9991 MB / 0.8386 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4326, allocations: 3.938 kB / 0.8386 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.4328, allocations: 102.1 kB / 0.8387 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4329, allocations: 3.031 kB / 0.8387 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.4329, allocations: 11.39 kB / 0.8387 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4329, allocations: 2.406 kB / 0.8387 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4329, allocations: 5.5 kB / 0.8387 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.4337, allocations: 0.7593 MB / 0.8394 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4338, allocations: 95.02 kB / 0.8395 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.4338, allocations: 11.09 kB / 0.8395 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.434, allocations: 25.66 kB / 0.8396 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.4341, allocations: 38.94 kB / 0.8396 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4341, allocations: 14.5 kB / 0.8396 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002206/0.4343, allocations: 299.3 kB / 0.8399 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4343, allocations: 0 / 0.8399 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002595/0.4346, allocations: 145.2 kB / 0.84 GB, free: 4.527 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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 7.693e-05/0.4346, allocations: 110.7 kB / 0.8401 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.4352, allocations: 490.9 kB / 0.8406 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4352, allocations: 1.406 kB / 0.8406 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.4355, allocations: 204.2 kB / 0.8408 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4359, allocations: 150.9 kB / 0.8409 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.4375, allocations: 1.392 MB / 0.8423 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4377, allocations: 295.6 kB / 0.8426 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4378, allocations: 46 kB / 0.8426 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.4378, allocations: 1.188 kB / 0.8426 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of Templates: time 0.006512/0.4443, allocations: 7.796 MB / 0.8502 GB, free: 15.01 MB / 0.6355 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: 5.793771850410849] Failed to read output from testmodel.py, exit status != 0: 0.44956061290577054 0.45770134500000004 0.035309631 Calling exit ...