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.00121/0.00121, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.001393/0.001393, allocations: 206.5 kB / 22.24 MB, free: 3.578 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 1.136/1.136, allocations: 230.6 MB / 256 MB, free: 9.602 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.8208/0.8208, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [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.00112/0.00112, allocations: 63.5 kB / 0.7181 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7289, allocations: 102 MB / 0.8178 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004649/0.7335, allocations: 3.749 MB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.7364, allocations: 1.321 MB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.7369, allocations: 32.53 kB / 0.8227 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.7373, allocations: 130.3 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.7377, allocations: 182.8 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.7387, allocations: 435 kB / 0.8235 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.7399, allocations: 0.9456 MB / 0.8244 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.7403, allocations: 290.3 kB / 0.8247 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.7408, allocations: 340.4 kB / 0.825 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.7411, allocations: 298.9 kB / 0.8253 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.7413, allocations: 90 kB / 0.8253 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.7414, allocations: 91 kB / 0.8254 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.7415, allocations: 175.9 kB / 0.8256 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.7421, allocations: 310.8 kB / 0.8259 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.7433, allocations: 1.074 MB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7433, allocations: 0 / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7433, allocations: 1.219 kB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.7433, allocations: 0 / 0.8269 GB, free: 11.29 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.001771/0.7451, allocations: 1.076 MB / 0.828 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.7452, allocations: 9.969 kB / 0.828 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.7453, allocations: 105.1 kB / 0.8281 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.7454, allocations: 85.89 kB / 0.8282 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/0.7463, allocations: 0.5068 MB / 0.8287 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.7463, allocations: 42.28 kB / 0.8287 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.7464, allocations: 66.73 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.7474, allocations: 0.6605 MB / 0.8294 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7474, allocations: 2.5 kB / 0.8294 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.7474, allocations: 21.53 kB / 0.8295 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.7475, allocations: 14.55 kB / 0.8295 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/0.7482, allocations: 459 kB / 0.8299 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.7509, allocations: 1.782 MB / 0.8316 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.7517, allocations: 422.2 kB / 0.8321 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.752, allocations: 222.5 kB / 0.8323 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.752, allocations: 6.281 kB / 0.8323 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.7525, allocations: 267.7 kB / 0.8325 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 4.368e-06/0.7525, allocations: 0 / 0.8325 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001036/0.7535, allocations: 0.5816 MB / 0.8331 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.7536, allocations: 57.67 kB / 0.8331 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.7541, allocations: 451.1 kB / 0.8336 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.7541, allocations: 41.89 kB / 0.8336 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.7543, allocations: 326.6 kB / 0.8339 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.7545, allocations: 172.4 kB / 0.8341 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.7546, allocations: 95.48 kB / 0.8342 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7547, allocations: 365.9 kB / 0.8345 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.755, allocations: 193.1 kB / 0.8347 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.7554, allocations: 282.2 kB / 0.835 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.756, allocations: 460.4 kB / 0.8354 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.756, allocations: 1.344 kB / 0.8354 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008053/0.7568, allocations: 0.5946 MB / 0.836 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.7568, allocations: 32.72 kB / 0.836 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7568, allocations: 2.875 kB / 0.836 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7568, allocations: 5.125 kB / 0.836 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.7572, allocations: 113.5 kB / 0.8362 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.7572, allocations: 9.781 kB / 0.8362 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.7574, allocations: 56.58 kB / 0.8362 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.7574, allocations: 23.3 kB / 0.8362 GB, free: 5.645 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.0002154/0.7577, allocations: 206.5 kB / 0.8364 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.7577, allocations: 63.17 kB / 0.8365 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.7578, allocations: 69.39 kB / 0.8366 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.7578, allocations: 5.047 kB / 0.8366 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7578, allocations: 1.031 kB / 0.8366 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7578, allocations: 2.062 kB / 0.8366 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.7592, allocations: 1.077 MB / 0.8376 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.7592, allocations: 0 / 0.8376 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.7595, allocations: 95.66 kB / 0.8377 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7595, allocations: 5.5 kB / 0.8377 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.7595, allocations: 12.45 kB / 0.8377 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.7595, allocations: 1.469 kB / 0.8377 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7595, allocations: 1.469 kB / 0.8377 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.7608, allocations: 0.7645 MB / 0.8385 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.7609, allocations: 90.45 kB / 0.8386 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.761, allocations: 12.59 kB / 0.8386 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.7611, allocations: 25.78 kB / 0.8386 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.7612, allocations: 34.41 kB / 0.8386 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.7612, allocations: 14.36 kB / 0.8387 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003032/0.7616, allocations: 309.3 kB / 0.8389 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7616, allocations: 0 / 0.8389 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004074/0.762, allocations: 146 kB / 0.8391 GB, free: 4.074 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 0.001187/0.7631, allocations: 1.318 MB / 0.8404 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.7639, allocations: 496 kB / 0.8408 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7639, allocations: 0 / 0.8408 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.7642, allocations: 201.3 kB / 0.841 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.7647, allocations: 163.1 kB / 0.8412 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.7704, allocations: 4.918 MB / 0.846 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.7706, allocations: 289.9 kB / 0.8463 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.771, allocations: 62.83 kB / 0.8463 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.7712, allocations: 219 kB / 0.8465 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/0.7712, allocations: 4 kB / 0.8465 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.8035, allocations: 12.41 MB / 0.8587 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/8.284, allocations: 5.031 kB / 0.8587 GB, free: 8.988 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.039436270017177] Failed to read output from testmodel.py, exit status != 0: 8.36893225600943 8.38179057 7.635899886 Calling exit ...