Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.0007633/0.0007633, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0007832/0.0007832, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.8773/0.8773, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7224/0.7224, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") [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.0009656/0.0009656, allocations: 74.33 kB / 0.6199 GB, free: 12.77 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5041/0.5051, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001858/0.507, allocations: 1.075 MB / 0.7205 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.509, allocations: 2.217 MB / 0.7227 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.5091, allocations: 6.25 kB / 0.7227 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.5091, allocations: 20.91 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.5093, allocations: 94.62 kB / 0.7228 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.5112, allocations: 1.394 MB / 0.7241 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009583/0.5122, allocations: 1.204 MB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.5122, allocations: 12.73 kB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.5128, allocations: 0.6616 MB / 0.726 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.5133, allocations: 382.1 kB / 0.7263 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.5135, allocations: 106.4 kB / 0.7264 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.5137, allocations: 125.2 kB / 0.7266 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.5137, allocations: 56.61 kB / 0.7266 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.5141, allocations: 376.1 kB / 0.727 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.5151, allocations: 1.208 MB / 0.7282 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5152, allocations: 4.594 kB / 0.7282 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5152, allocations: 0 / 0.7282 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.5152, allocations: 0 / 0.7282 GB, free: 18.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009573/0.5161, allocations: 1.105 MB / 0.7292 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5162, allocations: 10.56 kB / 0.7293 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.5163, allocations: 66.98 kB / 0.7293 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5164, allocations: 176.6 kB / 0.7295 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.5165, allocations: 39.72 kB / 0.7295 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5166, allocations: 66.88 kB / 0.7296 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.5168, allocations: 205.7 kB / 0.7298 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5168, allocations: 5.219 kB / 0.7298 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.5168, allocations: 15.52 kB / 0.7298 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5169, allocations: 2.375 kB / 0.7298 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.913e-05/0.5169, allocations: 64.61 kB / 0.7299 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.5175, allocations: 0.5974 MB / 0.7305 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.5177, allocations: 329.1 kB / 0.7308 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.5178, allocations: 130.6 kB / 0.7309 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.5178, allocations: 7.047 kB / 0.7309 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.5183, allocations: 466 kB / 0.7313 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 1.913e-06/0.5183, allocations: 1.281 kB / 0.7313 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0008728/0.5191, allocations: 0.5745 MB / 0.7319 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5192, allocations: 443.5 kB / 0.7323 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.5195, allocations: 294.6 kB / 0.7326 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.5197, allocations: 67.22 kB / 0.7327 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.5198, allocations: 165.8 kB / 0.7328 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.5199, allocations: 98.06 kB / 0.7329 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.5203, allocations: 276.4 kB / 0.7332 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.5204, allocations: 349.8 kB / 0.7335 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/0.5213, allocations: 0.8597 MB / 0.7344 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5224, allocations: 1.148 MB / 0.7355 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5234, allocations: 1.198 MB / 0.7366 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.5234, allocations: 6.625 kB / 0.7367 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002235/0.5257, allocations: 2.198 MB / 0.7388 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.5258, allocations: 474.1 kB / 0.7393 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.5258, allocations: 9.469 kB / 0.7393 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.5258, allocations: 17.84 kB / 0.7393 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.5259, allocations: 33.09 kB / 0.7393 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.5259, allocations: 19 kB / 0.7393 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5271, allocations: 405.9 kB / 0.7397 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.5272, allocations: 104.5 kB / 0.7398 GB, free: 10.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0001951/0.5274, allocations: 220 kB / 0.74 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.5274, allocations: 43.08 kB / 0.7401 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.5275, allocations: 48.55 kB / 0.7401 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5275, allocations: 6.266 kB / 0.7401 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5275, allocations: 3.125 kB / 0.7401 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.5275, allocations: 35 kB / 0.7402 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5276, allocations: 15.72 kB / 0.7402 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.5276, allocations: 16.86 kB / 0.7402 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.5277, allocations: 62.66 kB / 0.7402 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005225/0.5282, allocations: 1.543 MB / 0.7418 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005381/0.5288, allocations: 1.608 MB / 0.7433 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000156/0.5289, allocations: 123.4 kB / 0.7434 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001176/0.5291, allocations: 188 kB / 0.7436 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of Backend: time 2.6e-07/0.5291, allocations: 4 kB / 0.7436 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.5313, allocations: 1.983 MB / 0.7456 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001033/0.5323, allocations: 1.018 MB / 0.7466 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of Templates: time 0.0167/0.549, allocations: 13.8 MB / 0.76 GB, free: 15.57 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.378380407812074] Failed to read output from testmodel.py, exit status != 0: 0.5561828059144318 0.565244463 0.048252905000000006 Calling exit ...