Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0009662/0.0009662, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002259, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001025/0.001025, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002303, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09406/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.858/0.858, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3271/1.185, allocations: 49.04 MB / 447.6 MB, free: 6.68 MB / 426.7 MB " [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.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.338e-05, allocations: 4.422 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001646/0.001669, allocations: 0.7649 MB / 449.6 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003081, allocations: 1.306 MB / 451 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.003129, allocations: 4.75 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.003156, allocations: 3.938 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.003218, allocations: 28.98 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.009815, allocations: 236.5 kB / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.01016, allocations: 255.4 kB / 451.5 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.01025, allocations: 12.98 kB / 451.5 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.01044, allocations: 155.8 kB / 451.6 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.01059, allocations: 77.7 kB / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.01062, allocations: 20 kB / 451.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.01071, allocations: 24 kB / 451.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.01074, allocations: 24.67 kB / 451.8 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.01081, allocations: 47.94 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.01102, allocations: 141.6 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.01103, allocations: 0 / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01104, allocations: 0 / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.01105, allocations: 0 / 452 MB, free: 2.371 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006169/0.01167, allocations: 430.2 kB / 452.4 MB, free: 1.914 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.0117, allocations: 8.656 kB / 452.4 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.01176, allocations: 30.34 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.01195, allocations: 145.6 kB / 452.6 MB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.01197, allocations: 8.375 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.01201, allocations: 24.36 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.01217, allocations: 121.2 kB / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01218, allocations: 4.125 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.01219, allocations: 9.609 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.0122, allocations: 4.375 kB / 452.7 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.01528, allocations: 35.91 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.01591, allocations: 327.3 kB / 453.1 MB, free: 1.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.01607, allocations: 111.2 kB / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.01612, allocations: 33.7 kB / 453.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.01613, allocations: 4 kB / 453.2 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.01638, allocations: 191.8 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.01638, allocations: 0 / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002761/0.01666, allocations: 191.7 kB / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.0167, allocations: 85.05 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.01679, allocations: 140.2 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.01682, allocations: 37.7 kB / 453.9 MB, free: 312 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.01687, allocations: 97.25 kB / 454 MB, free: 212 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01691, allocations: 56.19 kB / 454 MB, free: 156 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.017, allocations: 65.66 kB / 454.1 MB, free: 84 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01711, allocations: 331.4 kB / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.01723, allocations: 111.7 kB / 454.5 MB, free: 15.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01736, allocations: 178.4 kB / 454.7 MB, free: 15.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.01754, allocations: 225.4 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01755, allocations: 3.938 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003208/0.01787, allocations: 324.9 kB / 455.2 MB, free: 14.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.01793, allocations: 68.27 kB / 455.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.01793, allocations: 4 kB / 455.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01795, allocations: 4.625 kB / 455.3 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.01804, allocations: 31.92 kB / 455.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01804, allocations: 0.6562 kB / 455.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.01825, allocations: 57.72 kB / 455.4 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.01828, allocations: 16.08 kB / 455.4 MB, free: 14.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001147/0.01839, allocations: 150.8 kB / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.01843, allocations: 23.97 kB / 455.6 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.01846, allocations: 17.53 kB / 455.6 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01847, allocations: 4 kB / 455.6 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01847, allocations: 0.5 kB / 455.6 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.01847, allocations: 3.984 kB / 455.6 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.0188, allocations: 391.5 kB / 456 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.0188, allocations: 0 / 456 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.01884, allocations: 12 kB / 456 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.01885, allocations: 15.91 kB / 456 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.01885, allocations: 5.203 kB / 456 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01887, allocations: 4 kB / 456 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01887, allocations: 7.922 kB / 456 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01887, allocations: 0.8438 kB / 456 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01908, allocations: 318.7 kB / 456.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.01911, allocations: 17.08 kB / 456.4 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01923, allocations: 11.98 kB / 456.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.01928, allocations: 23.95 kB / 456.4 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.0193, allocations: 8.891 kB / 456.4 MB, free: 13.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.01932, allocations: 18.36 kB / 456.4 MB, free: 13.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01932, allocations: 0.5938 kB / 456.4 MB, free: 13.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.01961, allocations: 63.86 kB / 456.5 MB, free: 13.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004594/0.02007, allocations: 95.08 kB / 456.6 MB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.02041, allocations: 333.1 kB / 456.9 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.02041, allocations: 4 kB / 456.9 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.0205, allocations: 76.69 kB / 457 MB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.02074, allocations: 44.94 kB / 457 MB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.02132, allocations: 269 kB / 457.3 MB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.02136, allocations: 75.97 kB / 457.4 MB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.02141, allocations: 16.92 kB / 457.4 MB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.02153, allocations: 91.34 kB / 457.5 MB, free: 12.44 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02153, allocations: 0 / 457.5 MB, free: 12.44 MB / 442.7 MB Notification: Performance of Templates: time 0.004653/0.02618, allocations: 3.119 MB / 460.6 MB, free: 9.551 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.753936057910323]