Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008382/0.0008382, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007805/0.0007805, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9619/0.9619, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7152/0.7152, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.187e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004255/0.004277, allocations: 3.74 MB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.006857, allocations: 1.332 MB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.007343, allocations: 31.81 kB / 0.623 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.007694, allocations: 134.7 kB / 0.6232 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.008031, allocations: 190.2 kB / 0.6234 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.008757, allocations: 417.6 kB / 0.6238 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000833/0.00959, allocations: 0.9785 MB / 0.6247 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.01002, allocations: 282.6 kB / 0.625 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004724/0.01049, allocations: 0.4989 MB / 0.6255 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.01076, allocations: 239.2 kB / 0.6257 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-05/0.01084, allocations: 92 kB / 0.6258 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.27e-05/0.01092, allocations: 88 kB / 0.6259 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.01103, allocations: 183.4 kB / 0.626 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.01122, allocations: 259.3 kB / 0.6263 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.01202, allocations: 1.083 MB / 0.6273 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01202, allocations: 0 / 0.6273 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01202, allocations: 4 kB / 0.6274 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.01203, allocations: 0 / 0.6274 GB, free: 4.125 MB / 0.5886 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.001439/0.01347, allocations: 1.072 MB / 0.6284 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.01353, allocations: 8.031 kB / 0.6284 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.845e-05/0.01362, allocations: 102.7 kB / 0.6285 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01373, allocations: 92.38 kB / 0.6286 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.01443, allocations: 0.4991 MB / 0.6291 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.01446, allocations: 45.69 kB / 0.6291 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.01454, allocations: 60.38 kB / 0.6292 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.01528, allocations: 0.6583 MB / 0.6298 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.01529, allocations: 192 / 0.6298 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.01533, allocations: 28.12 kB / 0.6298 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01534, allocations: 12 kB / 0.6299 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.01596, allocations: 465 kB / 0.6303 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01782, allocations: 1.772 MB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.01837, allocations: 414.7 kB / 0.6324 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.01863, allocations: 230.2 kB / 0.6326 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.01867, allocations: 4.5 kB / 0.6327 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.01901, allocations: 258.2 kB / 0.6329 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.01901, allocations: 0 / 0.6329 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.0008035/0.01981, allocations: 0.5904 MB / 0.6335 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.01986, allocations: 59.84 kB / 0.6335 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.0202, allocations: 454.6 kB / 0.634 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.02022, allocations: 33.7 kB / 0.634 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.0204, allocations: 348.7 kB / 0.6343 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/0.0205, allocations: 162.5 kB / 0.6345 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.02059, allocations: 94.34 kB / 0.6346 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.02072, allocations: 366.8 kB / 0.6349 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.02096, allocations: 190.9 kB / 0.6351 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.02123, allocations: 276.4 kB / 0.6354 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.02173, allocations: 455.2 kB / 0.6358 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02173, allocations: 4 kB / 0.6358 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006307/0.02236, allocations: 0.5863 MB / 0.6364 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.0224, allocations: 37.7 kB / 0.6364 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.0224, allocations: 4 kB / 0.6364 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.02242, allocations: 12.19 kB / 0.6364 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.02269, allocations: 111.8 kB / 0.6365 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.02269, allocations: 4 kB / 0.6365 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.02285, allocations: 67.58 kB / 0.6366 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.02287, allocations: 20 kB / 0.6366 GB, free: 10.28 MB / 0.6042 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.0001786/0.02305, allocations: 210.7 kB / 0.6368 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.02309, allocations: 51.67 kB / 0.6369 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.02317, allocations: 69.59 kB / 0.6369 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.02318, allocations: 7.938 kB / 0.637 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02319, allocations: 0 / 0.637 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02319, allocations: 3.984 kB / 0.637 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.02426, allocations: 1.077 MB / 0.638 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02427, allocations: 3.938 kB / 0.638 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.02451, allocations: 99.88 kB / 0.6381 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.02451, allocations: 4 kB / 0.6381 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.02453, allocations: 12 kB / 0.6381 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.02453, allocations: 0 / 0.6381 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02454, allocations: 0 / 0.6381 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.02534, allocations: 0.7592 MB / 0.6389 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.02546, allocations: 103.5 kB / 0.639 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.0255, allocations: 19.98 kB / 0.639 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02563, allocations: 15.98 kB / 0.639 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.0257, allocations: 44.42 kB / 0.639 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.02572, allocations: 12 kB / 0.6391 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002242/0.02594, allocations: 310.8 kB / 0.6393 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02594, allocations: 0 / 0.6393 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002723/0.02621, allocations: 139.7 kB / 0.6395 GB, free: 7.281 MB / 0.6042 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.001028/0.02724, allocations: 1.323 MB / 0.6408 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.0278, allocations: 491.9 kB / 0.6412 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0278, allocations: 3.938 kB / 0.6412 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.02804, allocations: 202.7 kB / 0.6414 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.02849, allocations: 158.8 kB / 0.6416 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.03323, allocations: 4.836 MB / 0.6463 GB, free: 84 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.03343, allocations: 288.7 kB / 0.6466 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.03361, allocations: 64.58 kB / 0.6466 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.03382, allocations: 216.4 kB / 0.6469 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.03382, allocations: 0 / 0.6469 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.05988, allocations: 12.53 MB / 0.6591 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.878, allocations: 3.281 kB / 0.6591 GB, free: 3.297 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.839298849925399] Failed to read output from testmodel.py, exit status != 0: 6.965239410288632 6.973536432 6.959880258 Calling exit ...