Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0008201/0.0008201, allocations: 84.44 kB / 19.91 MB, free: 4 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.0007885/0.0007885, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9029/0.9029, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7426/0.7426, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [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.0009276/0.0009276, allocations: 67.91 kB / 0.6196 GB, free: 13.09 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5063, allocations: 102 MB / 0.7192 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002446/0.5087, allocations: 1.876 MB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.511, allocations: 1.713 MB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.5112, allocations: 12.34 kB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.5114, allocations: 89.48 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.5116, allocations: 92.17 kB / 0.7229 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.5123, allocations: 424.4 kB / 0.7233 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.5129, allocations: 0.7844 MB / 0.724 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.5132, allocations: 252.6 kB / 0.7243 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.5135, allocations: 474.4 kB / 0.7247 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.5137, allocations: 282.4 kB / 0.725 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/0.5138, allocations: 89.81 kB / 0.7251 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.514, allocations: 95.86 kB / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.514, allocations: 159 kB / 0.7253 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.5142, allocations: 268.4 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.515, allocations: 1.015 MB / 0.7266 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.515, allocations: 0.7031 kB / 0.7266 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.515, allocations: 0 / 0.7266 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.515, allocations: 0 / 0.7266 GB, free: 19.11 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001295/0.5163, allocations: 1.118 MB / 0.7277 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5164, allocations: 14.36 kB / 0.7277 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.5165, allocations: 74.27 kB / 0.7278 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.517, allocations: 366.8 kB / 0.7281 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.517, allocations: 49.03 kB / 0.7282 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.5171, allocations: 63.56 kB / 0.7282 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.5178, allocations: 0.5746 MB / 0.7288 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5178, allocations: 4.172 kB / 0.7288 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5179, allocations: 26.3 kB / 0.7288 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5179, allocations: 13.06 kB / 0.7288 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.5184, allocations: 372.7 kB / 0.7292 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.52, allocations: 1.337 MB / 0.7305 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.5206, allocations: 419 kB / 0.7309 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.5209, allocations: 234.7 kB / 0.7311 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.5209, allocations: 10.44 kB / 0.7311 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.5213, allocations: 277.8 kB / 0.7314 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.335e-06/0.5213, allocations: 0 / 0.7314 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.0008138/0.5221, allocations: 0.5817 MB / 0.732 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.5221, allocations: 115.3 kB / 0.7321 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.5224, allocations: 347.5 kB / 0.7324 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.5224, allocations: 41.33 kB / 0.7324 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5226, allocations: 264.3 kB / 0.7327 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.5226, allocations: 184.1 kB / 0.7329 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.5228, allocations: 116.4 kB / 0.733 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.5228, allocations: 358.3 kB / 0.7333 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.5232, allocations: 286.2 kB / 0.7336 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.5235, allocations: 470.5 kB / 0.734 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.524, allocations: 496.5 kB / 0.7345 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.524, allocations: 1.281 kB / 0.7345 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007888/0.5248, allocations: 0.7321 MB / 0.7352 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.5248, allocations: 71.78 kB / 0.7353 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5248, allocations: 2.062 kB / 0.7353 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5249, allocations: 7.922 kB / 0.7353 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.5251, allocations: 91.47 kB / 0.7354 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.5251, allocations: 7.969 kB / 0.7354 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.5254, allocations: 103.2 kB / 0.7355 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.5254, allocations: 26.19 kB / 0.7355 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003677/0.5258, allocations: 383.7 kB / 0.7359 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002944/0.5261, allocations: 445.4 kB / 0.7363 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003986/0.5265, allocations: 454.8 kB / 0.7367 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.5265, allocations: 3.938 kB / 0.7367 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006781/0.5272, allocations: 0.6859 MB / 0.7374 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5272, allocations: 68.11 kB / 0.7375 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.5272, allocations: 5.906 kB / 0.7375 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.5272, allocations: 8.156 kB / 0.7375 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.5274, allocations: 88.03 kB / 0.7376 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5274, allocations: 4.781 kB / 0.7376 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5276, allocations: 104 kB / 0.7377 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.5276, allocations: 25.25 kB / 0.7377 GB, free: 12.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0001046/0.5278, allocations: 218.4 kB / 0.7379 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.5278, allocations: 45.83 kB / 0.738 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.5283, allocations: 470.6 kB / 0.7384 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.5284, allocations: 7.781 kB / 0.7384 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5284, allocations: 4 kB / 0.7384 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.5284, allocations: 46.8 kB / 0.7385 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.5284, allocations: 12.89 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.5285, allocations: 24.8 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.5286, allocations: 32.06 kB / 0.7385 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008145/0.5294, allocations: 0.5441 MB / 0.7391 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00103/0.5305, allocations: 0.8376 MB / 0.7399 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002691/0.5307, allocations: 187.7 kB / 0.7401 GB, free: 11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002034/0.5309, allocations: 245 kB / 0.7403 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of Backend: time 5.51e-07/0.5309, allocations: 0 / 0.7403 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.5322, allocations: 0.9858 MB / 0.7413 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001307/0.5335, allocations: 1.348 MB / 0.7426 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.01345/0.5469, allocations: 9.845 MB / 0.7522 GB, free: 6.883 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.496481929207221] Failed to read output from testmodel.py, exit status != 0: 0.5530168439727277 0.562768118 0.045796165 Calling exit ...