Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008457/0.0008457, allocations: 80.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.0008897/0.0008897, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9065/0.9065, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7537/0.7537, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.0009537/0.0009537, allocations: 74.31 kB / 0.6196 GB, free: 13.06 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.5142/0.5151, allocations: 101.9 MB / 0.7192 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001766/0.5169, allocations: 0.8477 MB / 0.72 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.5182, allocations: 1.199 MB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.5182, allocations: 5.438 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.5183, allocations: 9.188 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.5184, allocations: 16.27 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.5188, allocations: 156.7 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.519, allocations: 167.6 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.5192, allocations: 27.31 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.5193, allocations: 95.38 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.5194, allocations: 63.28 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.5194, allocations: 18.66 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.5195, allocations: 23.23 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.5196, allocations: 26.42 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.5196, allocations: 57.23 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.5199, allocations: 202.4 kB / 0.722 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5199, allocations: 1.188 kB / 0.722 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5199, allocations: 0 / 0.722 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5199, allocations: 3.938 kB / 0.722 GB, free: 21.81 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005542/0.5205, allocations: 417.1 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5205, allocations: 9.109 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.5206, allocations: 21.48 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.5209, allocations: 189 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.521, allocations: 6.156 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.521, allocations: 14.25 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5212, allocations: 95.41 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5212, allocations: 3.938 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5212, allocations: 10.34 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5212, allocations: 1.312 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5213, allocations: 42.53 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.5218, allocations: 312.5 kB / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.5219, allocations: 36.36 kB / 0.7231 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.5219, allocations: 25.06 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.522, allocations: 6.094 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.5222, allocations: 101.1 kB / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.5222, allocations: 0 / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003182/0.5225, allocations: 131.1 kB / 0.7234 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.5225, allocations: 52.5 kB / 0.7234 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5226, allocations: 145.5 kB / 0.7235 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5226, allocations: 37.91 kB / 0.7236 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.5227, allocations: 105.2 kB / 0.7237 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.5227, allocations: 35.09 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.5228, allocations: 51.41 kB / 0.7238 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.5228, allocations: 326.2 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.523, allocations: 77.33 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5231, allocations: 163.6 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.5233, allocations: 199.5 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5233, allocations: 9.156 kB / 0.7245 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003533/0.5236, allocations: 273.6 kB / 0.7248 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.5237, allocations: 38.59 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5237, allocations: 4.938 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5237, allocations: 8.156 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.5238, allocations: 22.36 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.5238, allocations: 12.84 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.524, allocations: 47.19 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.524, allocations: 16.22 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 7.793e-05/0.5241, allocations: 133 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.5241, allocations: 9.141 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.5241, allocations: 16.97 kB / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5241, allocations: 0.8906 kB / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5241, allocations: 0 / 0.7251 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.5241, allocations: 11.84 kB / 0.7251 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5242, allocations: 6.031 kB / 0.7251 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.5242, allocations: 10.52 kB / 0.7251 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.5242, allocations: 8.375 kB / 0.7251 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002539/0.5245, allocations: 198.5 kB / 0.7253 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002736/0.5248, allocations: 332.2 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.42e-05/0.5249, allocations: 33.62 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.5249, allocations: 106.2 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of Backend: time 5.01e-07/0.5249, allocations: 1.031 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.5254, allocations: 254.3 kB / 0.726 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005656/0.526, allocations: 0.7223 MB / 0.7267 GB, free: 18 MB / 0.6355 GB Notification: Performance of Templates: time 0.00464/0.5306, allocations: 1.925 MB / 0.7286 GB, free: 17.8 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.431906837038696] Failed to read output from testmodel.py, exit status != 0: 0.5367493780795485 0.546971521 0.025093885000000003 Calling exit ...