Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000806/0.000806, 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.0008794/0.0008794, 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.905/0.905, 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 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.7462/0.7462, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.00106/0.00106, allocations: 71.89 kB / 0.6196 GB, free: 13.1 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.5212/0.5222, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001875/0.5241, allocations: 1.079 MB / 0.7202 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.5263, allocations: 2.211 MB / 0.7223 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.5264, allocations: 2.219 kB / 0.7223 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.5265, allocations: 20.86 kB / 0.7224 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.5266, allocations: 98.42 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.529, allocations: 1.393 MB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.5305, allocations: 1.204 MB / 0.725 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.5305, allocations: 13.55 kB / 0.725 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.5314, allocations: 0.6606 MB / 0.7257 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.5319, allocations: 386.9 kB / 0.726 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.5321, allocations: 104.5 kB / 0.7261 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.5323, allocations: 122.3 kB / 0.7262 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.5324, allocations: 61.03 kB / 0.7263 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.5328, allocations: 374.9 kB / 0.7267 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.534, allocations: 1.212 MB / 0.7278 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.534, allocations: 0 / 0.7278 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.755e-06/0.534, allocations: 4 kB / 0.7278 GB, free: 19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.5341, allocations: 0 / 0.7278 GB, free: 19 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.001183/0.5352, allocations: 1.11 MB / 0.7289 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5353, allocations: 7.969 kB / 0.7289 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.5355, allocations: 67 kB / 0.729 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5356, allocations: 165.2 kB / 0.7292 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.5356, allocations: 40.09 kB / 0.7292 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5358, allocations: 69.39 kB / 0.7293 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.536, allocations: 214.6 kB / 0.7295 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.536, allocations: 1.469 kB / 0.7295 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.536, allocations: 14.25 kB / 0.7295 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.536, allocations: 7.344 kB / 0.7295 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.5361, allocations: 67.61 kB / 0.7296 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.5367, allocations: 0.5943 MB / 0.7301 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5369, allocations: 323.8 kB / 0.7304 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.537, allocations: 134.8 kB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.537, allocations: 7.109 kB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.5375, allocations: 455.4 kB / 0.731 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.5375, allocations: 4 kB / 0.731 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0008293/0.5383, allocations: 0.5794 MB / 0.7316 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.5384, allocations: 442.7 kB / 0.732 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5386, allocations: 295.5 kB / 0.7323 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/0.5387, allocations: 68.45 kB / 0.7324 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5389, allocations: 165.1 kB / 0.7325 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.5389, allocations: 96.05 kB / 0.7326 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.5393, allocations: 273.9 kB / 0.7329 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.5394, allocations: 353.7 kB / 0.7332 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.5402, allocations: 0.8566 MB / 0.734 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.5411, allocations: 1.144 MB / 0.7352 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.542, allocations: 1.205 MB / 0.7363 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.542, allocations: 3.062 kB / 0.7363 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002146/0.5441, allocations: 2.199 MB / 0.7385 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.5443, allocations: 477.2 kB / 0.7389 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.5443, allocations: 9.375 kB / 0.7389 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/0.5443, allocations: 22.3 kB / 0.739 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.5444, allocations: 28.8 kB / 0.739 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.5444, allocations: 19.27 kB / 0.739 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5458, allocations: 406.8 kB / 0.7394 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.5459, allocations: 100.3 kB / 0.7395 GB, free: 10.2 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.0003105/0.5462, allocations: 227.5 kB / 0.7397 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.5463, allocations: 43.48 kB / 0.7398 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.5464, allocations: 39.97 kB / 0.7398 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5464, allocations: 5.906 kB / 0.7398 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5464, allocations: 3.5 kB / 0.7398 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.5464, allocations: 40.38 kB / 0.7398 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.5465, allocations: 14.62 kB / 0.7399 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.5465, allocations: 17.28 kB / 0.7399 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.5466, allocations: 61.78 kB / 0.7399 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005934/0.5472, allocations: 1.544 MB / 0.7414 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006086/0.5478, allocations: 1.611 MB / 0.743 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000173/0.548, allocations: 122.9 kB / 0.7431 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001503/0.5481, allocations: 188.4 kB / 0.7433 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of Backend: time 5.81e-07/0.5482, allocations: 0 / 0.7433 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.5505, allocations: 1.986 MB / 0.7452 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001052/0.5516, allocations: 1.004 MB / 0.7462 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of Templates: time 0.01772/0.5693, allocations: 13.8 MB / 0.7597 GB, free: 15.78 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.562927732942626] Failed to read output from testmodel.py, exit status != 0: 0.5756348478607833 0.584973604 0.048885233 Calling exit ...