Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001519/0.001519, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00189/0.00189, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.038/1.038, allocations: 177.2 MB / 203.8 MB, free: 5.465 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-545:108: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-545:116: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.8746/0.8746, allocations: 154.6 MB / 414.8 MB, free: 480 kB / 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.317e-05, allocations: 2.312 kB / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002843/0.002876, allocations: 0.9675 MB / 481 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.005099, allocations: 1.498 MB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.005199, allocations: 5 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.005248, allocations: 12.36 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.005451, allocations: 64.25 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.006506, allocations: 431.4 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.007163, allocations: 499.3 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.007293, allocations: 27.67 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.007714, allocations: 271.5 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.007982, allocations: 131.6 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.008059, allocations: 49.09 kB / 484 MB, free: 2.949 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.008205, allocations: 63.97 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.008247, allocations: 35.86 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.008409, allocations: 144.7 kB / 484.2 MB, free: 2.711 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.008862, allocations: 343.1 kB / 484.6 MB, free: 2.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008866, allocations: 1.375 kB / 484.6 MB, free: 2.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008867, allocations: 0 / 484.6 MB, free: 2.375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.008873, allocations: 0 / 484.6 MB, free: 2.375 MB / 442.7 MB 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.0007359/0.009609, allocations: 0.529 MB / 485.1 MB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.009648, allocations: 8.875 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.009733, allocations: 32.89 kB / 485.1 MB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.00989, allocations: 158.3 kB / 485.3 MB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.009924, allocations: 16.38 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.009974, allocations: 24.38 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.01013, allocations: 110.2 kB / 485.4 MB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.01014, allocations: 4.969 kB / 485.4 MB, free: 1.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.01016, allocations: 8.375 kB / 485.4 MB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.01016, allocations: 1.469 kB / 485.4 MB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.01022, allocations: 35.89 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.01089, allocations: 0.5247 MB / 486 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.01101, allocations: 91.3 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.01105, allocations: 40.55 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.01106, allocations: 3.938 kB / 486.1 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.01126, allocations: 155.2 kB / 486.3 MB, free: 476 kB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.01126, allocations: 0 / 486.3 MB, free: 476 kB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002762/0.01154, allocations: 138.1 kB / 486.4 MB, free: 332 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.01161, allocations: 133.1 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.01181, allocations: 221 kB / 486.8 MB, free: 15.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.01186, allocations: 38.33 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.01195, allocations: 120.5 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.01198, allocations: 40.28 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.01214, allocations: 86.23 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01224, allocations: 330.8 kB / 487.4 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.01248, allocations: 199.7 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.01273, allocations: 273.5 kB / 487.8 MB, free: 14.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01303, allocations: 308.2 kB / 488.1 MB, free: 14.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01304, allocations: 0 / 488.1 MB, free: 14.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005697/0.01361, allocations: 0.5146 MB / 488.6 MB, free: 13.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/0.0137, allocations: 135.3 kB / 488.8 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.01371, allocations: 6.344 kB / 488.8 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01372, allocations: 4 kB / 488.8 MB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.0138, allocations: 11.94 kB / 488.8 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.0138, allocations: 7.984 kB / 488.8 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.01418, allocations: 85.5 kB / 488.9 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.01424, allocations: 23.98 kB / 488.9 MB, free: 13.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001263/0.01436, allocations: 139.2 kB / 489.1 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.0144, allocations: 23.91 kB / 489.1 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.01444, allocations: 18.09 kB / 489.1 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01445, allocations: 4 kB / 489.1 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01445, allocations: 1.562 kB / 489.1 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01446, allocations: 3.984 kB / 489.1 MB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.01462, allocations: 121.8 kB / 489.2 MB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01463, allocations: 0 / 489.2 MB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.01467, allocations: 17.22 kB / 489.2 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01467, allocations: 0 / 489.2 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01469, allocations: 15.92 kB / 489.3 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01469, allocations: 0 / 489.3 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01469, allocations: 0.8438 kB / 489.3 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.01487, allocations: 134 kB / 489.4 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.0149, allocations: 28.34 kB / 489.4 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.01492, allocations: 8.5 kB / 489.4 MB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.01498, allocations: 4 kB / 489.4 MB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.01502, allocations: 20.88 kB / 489.4 MB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01503, allocations: 8 kB / 489.5 MB, free: 12.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.723e-05/0.01512, allocations: 71.31 kB / 489.5 MB, free: 12.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.01512, allocations: 0 / 489.5 MB, free: 12.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.01546, allocations: 76.64 kB / 489.6 MB, free: 12.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.01561, allocations: 85.41 kB / 489.7 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.01611, allocations: 0.5233 MB / 490.2 MB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.01611, allocations: 0 / 490.2 MB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.01618, allocations: 51 kB / 490.3 MB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.0165, allocations: 60.44 kB / 490.3 MB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.01701, allocations: 329.8 kB / 490.6 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.01707, allocations: 79.92 kB / 490.7 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.01714, allocations: 19.61 kB / 490.7 MB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.01742, allocations: 124 kB / 490.9 MB, free: 11.43 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01742, allocations: 1.469 kB / 490.9 MB, free: 11.43 MB / 458.7 MB Notification: Performance of Templates: time 0.009408/0.02683, allocations: 5.464 MB / 496.3 MB, free: 6.348 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8156902571208775]