Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0007183/0.0007183, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001632, 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.0007214/0.0007214, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001622, 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 1.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.114, allocations: 53.66 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.8604/0.8604, allocations: 154.6 MB / 398.5 MB, free: 0.4922 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.2893/1.15, allocations: 49.03 MB / 447.6 MB, free: 6.695 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.672e-05, allocations: 5.562 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002229/0.002255, allocations: 0.7742 MB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003814, allocations: 1.205 MB / 450.9 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.003864, allocations: 1 kB / 450.9 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.003897, allocations: 7.875 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.003953, allocations: 9.688 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.004372, allocations: 124.8 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004589, allocations: 118.5 kB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.004686, allocations: 13.77 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.004881, allocations: 83.27 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004982, allocations: 33.48 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.005012, allocations: 13.44 kB / 451.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.00511, allocations: 23.97 kB / 451.3 MB, free: 3.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.005138, allocations: 11.8 kB / 451.3 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.005192, allocations: 22.08 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.005375, allocations: 72.69 kB / 451.4 MB, free: 2.961 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917e-05/0.005394, allocations: 4.938 kB / 451.4 MB, free: 2.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005395, allocations: 0 / 451.4 MB, free: 2.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.005413, allocations: 2.969 kB / 451.4 MB, free: 2.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005699/0.005983, allocations: 316.2 kB / 451.7 MB, free: 2.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.00602, allocations: 12.03 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.006068, allocations: 12.86 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.006177, allocations: 117.7 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.006196, allocations: 5.219 kB / 451.9 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.006217, allocations: 8.375 kB / 451.9 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006359, allocations: 62.92 kB / 451.9 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006367, allocations: 1 kB / 451.9 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.006375, allocations: 4.312 kB / 451.9 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006383, allocations: 5.531 kB / 451.9 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.00642, allocations: 13.98 kB / 452 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.006788, allocations: 189.3 kB / 452.1 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.006892, allocations: 26.58 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.006923, allocations: 18.03 kB / 452.2 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.006932, allocations: 0 / 452.2 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.007067, allocations: 76.12 kB / 452.3 MB, free: 2.012 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.007068, allocations: 0 / 452.3 MB, free: 2.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001737/0.007242, allocations: 67.61 kB / 452.3 MB, free: 1.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.007286, allocations: 55.41 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.007374, allocations: 122.7 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.007402, allocations: 29.7 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.007456, allocations: 100 kB / 452.6 MB, free: 1.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.00748, allocations: 17.5 kB / 452.6 MB, free: 1.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.007559, allocations: 37.62 kB / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.007671, allocations: 322.8 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.00775, allocations: 53.69 kB / 453 MB, free: 1.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.00784, allocations: 91.59 kB / 453.1 MB, free: 1.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.007966, allocations: 104 kB / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.007969, allocations: 0 / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002208/0.00819, allocations: 170.4 kB / 453.4 MB, free: 0.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.008244, allocations: 42.28 kB / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.008252, allocations: 4 kB / 453.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008265, allocations: 8.562 kB / 453.5 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.008363, allocations: 8.969 kB / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008368, allocations: 0 / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.008505, allocations: 33.08 kB / 453.5 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.008525, allocations: 12 kB / 453.5 MB, free: 0.6406 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.405e-05/0.008619, allocations: 122.9 kB / 453.6 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.008637, allocations: 7.984 kB / 453.6 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.00867, allocations: 12.44 kB / 453.6 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.008674, allocations: 4.969 kB / 453.6 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.008676, allocations: 0 / 453.6 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008681, allocations: 1.312 kB / 453.7 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.008928, allocations: 215.8 kB / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.00893, allocations: 0 / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.008973, allocations: 9.219 kB / 453.9 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.008985, allocations: 11.88 kB / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008988, allocations: 0 / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.008996, allocations: 9.438 kB / 453.9 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008998, allocations: 0 / 453.9 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008999, allocations: 0 / 453.9 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.009114, allocations: 147.9 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009134, allocations: 8.719 kB / 454 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.009197, allocations: 8 kB / 454.1 MB, free: 52 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.009232, allocations: 8.766 kB / 454.1 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.00924, allocations: 3.984 kB / 454.1 MB, free: 40 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.385e-05/0.009264, allocations: 16.84 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009264, allocations: 0.875 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.009529, allocations: 24.05 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001424/0.009671, allocations: 81.36 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.009869, allocations: 155 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.009876, allocations: 8.672 kB / 454.3 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.009921, allocations: 28.86 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01015, allocations: 25.11 kB / 454.4 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.01078, allocations: 169.5 kB / 454.6 MB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.01084, allocations: 63.34 kB / 454.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.01087, allocations: 4.531 kB / 454.6 MB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.01098, allocations: 73.05 kB / 454.7 MB, free: 15.33 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01098, allocations: 0 / 454.7 MB, free: 15.33 MB / 442.7 MB Notification: Performance of Templates: time 0.004669/0.01565, allocations: 1.689 MB / 456.4 MB, free: 13.76 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.628623377531767]