Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.0008573/0.0008573, 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.0009784/0.0009784, 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.9191/0.9191, allocations: 177.2 MB / 203.6 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.7192/0.7192, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [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.001065/0.001065, 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.5284/0.5295, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.001881/0.5313, allocations: 1.078 MB / 0.7202 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.5336, allocations: 2.218 MB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.5337, allocations: 1.375 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.5338, allocations: 22.17 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.5339, allocations: 102.4 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.5365, allocations: 1.393 MB / 0.7238 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.5379, allocations: 1.2 MB / 0.725 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.538, allocations: 16.67 kB / 0.725 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.5388, allocations: 0.6616 MB / 0.7257 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.5395, allocations: 386.2 kB / 0.726 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.5397, allocations: 104.8 kB / 0.7261 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.5399, allocations: 118.9 kB / 0.7262 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.54, allocations: 64.64 kB / 0.7263 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.5404, allocations: 371.1 kB / 0.7267 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.5415, allocations: 1.204 MB / 0.7278 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5415, allocations: 1.188 kB / 0.7278 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5415, allocations: 3.938 kB / 0.7278 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.5416, allocations: 4 kB / 0.7278 GB, free: 18.98 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.001105/0.5427, allocations: 1.109 MB / 0.7289 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5427, allocations: 13.95 kB / 0.7289 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.5429, allocations: 66.2 kB / 0.729 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.543, allocations: 168.1 kB / 0.7292 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.5431, allocations: 36.88 kB / 0.7292 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5432, allocations: 66.47 kB / 0.7293 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.5434, allocations: 217.2 kB / 0.7295 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5434, allocations: 1.531 kB / 0.7295 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5434, allocations: 10.05 kB / 0.7295 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.5435, allocations: 10.81 kB / 0.7295 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.5436, allocations: 68.66 kB / 0.7296 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.5442, allocations: 0.5931 MB / 0.7301 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.5444, allocations: 320 kB / 0.7304 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5445, allocations: 135.4 kB / 0.7306 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.5445, allocations: 9.359 kB / 0.7306 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.545, allocations: 461.4 kB / 0.731 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.545, allocations: 4 kB / 0.731 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0008472/0.5458, allocations: 0.5748 MB / 0.7316 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.5459, allocations: 446.2 kB / 0.732 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5462, allocations: 295.8 kB / 0.7323 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5463, allocations: 68.34 kB / 0.7324 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5464, allocations: 156.4 kB / 0.7325 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.5465, allocations: 101.3 kB / 0.7326 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.5468, allocations: 273.8 kB / 0.7329 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.5469, allocations: 354.2 kB / 0.7332 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/0.5477, allocations: 0.8557 MB / 0.734 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.5486, allocations: 1.147 MB / 0.7352 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.5494, allocations: 1.198 MB / 0.7363 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5494, allocations: 2.938 kB / 0.7363 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002104/0.5515, allocations: 2.203 MB / 0.7385 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.5517, allocations: 476 kB / 0.7389 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.5517, allocations: 9.953 kB / 0.7389 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.5517, allocations: 21.53 kB / 0.739 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.5518, allocations: 32.38 kB / 0.739 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.5518, allocations: 20.06 kB / 0.739 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5531, allocations: 405 kB / 0.7394 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.5533, allocations: 97.34 kB / 0.7395 GB, free: 10.18 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.0003209/0.5536, allocations: 220 kB / 0.7397 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.5537, allocations: 42.38 kB / 0.7397 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.5537, allocations: 41.64 kB / 0.7398 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.5538, allocations: 4.75 kB / 0.7398 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5538, allocations: 4.094 kB / 0.7398 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5538, allocations: 38.69 kB / 0.7398 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.5538, allocations: 20.62 kB / 0.7399 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.5539, allocations: 24.02 kB / 0.7399 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.554, allocations: 63 kB / 0.7399 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005841/0.5546, allocations: 1.543 MB / 0.7414 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006353/0.5552, allocations: 1.612 MB / 0.743 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001656/0.5554, allocations: 126.6 kB / 0.7431 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001523/0.5556, allocations: 188.5 kB / 0.7433 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of Backend: time 2.3e-07/0.5556, allocations: 0 / 0.7433 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.558, allocations: 1.986 MB / 0.7453 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00108/0.5591, allocations: 0.9972 MB / 0.7462 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of Templates: time 0.01962/0.5787, allocations: 13.81 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.PulseNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.550493829883635] Failed to read output from testmodel.py, exit status != 0: 0.586076543899253 0.5974466829999999 0.053392446 Calling exit ...