Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.000707/0.000707, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009262/0.001633, 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.0007407/0.0007407, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.00164, 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.9724/0.9724, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08669/1.059, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7538/0.7538, allocations: 154.6 MB / 398.5 MB, free: 0.543 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.2712/1.025, allocations: 49.04 MB / 447.6 MB, free: 6.738 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.426e-06/3.426e-06, allocations: 0 / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/3.072e-05, allocations: 2.312 kB / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002282/0.002313, allocations: 0.6819 MB / 449.6 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.003981, allocations: 1.244 MB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.00403, allocations: 0 / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.004057, allocations: 3.938 kB / 450.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.004115, allocations: 16.5 kB / 450.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.004657, allocations: 209.9 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.004901, allocations: 166 kB / 451.2 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.004978, allocations: 16.69 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005116, allocations: 104.6 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.00524, allocations: 45.12 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.005272, allocations: 16.66 kB / 451.4 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.005362, allocations: 35.97 kB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.005383, allocations: 5.969 kB / 451.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.005443, allocations: 36.61 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005629, allocations: 104.6 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.005647, allocations: 0 / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005648, allocations: 0 / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.005667, allocations: 0 / 451.6 MB, free: 2.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005019/0.006169, allocations: 349.9 kB / 451.9 MB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.006205, allocations: 8.906 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.006253, allocations: 16.92 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.006349, allocations: 115 kB / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.006364, allocations: 4.375 kB / 452 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.006387, allocations: 8.375 kB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.382e-05/0.006461, allocations: 47.08 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006468, allocations: 4.125 kB / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.006475, allocations: 384 / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.00648, allocations: 1.781 kB / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.006501, allocations: 7.938 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.006902, allocations: 181.5 kB / 452.3 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.006962, allocations: 22.58 kB / 452.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.006978, allocations: 21.56 kB / 452.3 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.006985, allocations: 2.531 kB / 452.3 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.007096, allocations: 75.31 kB / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007097, allocations: 0 / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001247/0.007222, allocations: 77.81 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.007263, allocations: 63.84 kB / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.007348, allocations: 124 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.007373, allocations: 29.7 kB / 452.7 MB, free: 1.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.007423, allocations: 96.05 kB / 452.8 MB, free: 1.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.00744, allocations: 15.91 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.007504, allocations: 42.52 kB / 452.8 MB, free: 1.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.007582, allocations: 322.8 kB / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.00766, allocations: 104.2 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.007741, allocations: 134.5 kB / 453.4 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.007835, allocations: 140.9 kB / 453.5 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007838, allocations: 7.188 kB / 453.5 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/0.008022, allocations: 260.3 kB / 453.8 MB, free: 372 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.008081, allocations: 67.39 kB / 453.9 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.008088, allocations: 7.875 kB / 453.9 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.008098, allocations: 0 / 453.9 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.00812, allocations: 7.984 kB / 453.9 MB, free: 276 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.008124, allocations: 4.5 kB / 453.9 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.008272, allocations: 36.83 kB / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.008291, allocations: 17.2 kB / 453.9 MB, free: 220 kB / 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 6.759e-05/0.008359, allocations: 121.8 kB / 454 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.008369, allocations: 8.859 kB / 454.1 MB, free: 80 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.008393, allocations: 8.375 kB / 454.1 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008395, allocations: 3.016 kB / 454.1 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008397, allocations: 3.938 kB / 454.1 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.008402, allocations: 4.625 kB / 454.1 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.008482, allocations: 81.97 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008483, allocations: 0.625 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-06/0.008488, allocations: 0.625 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.008496, allocations: 7.953 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.008498, allocations: 0.625 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.008502, allocations: 3.984 kB / 454.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.008506, allocations: 8.562 kB / 454.2 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008507, allocations: 0.9375 kB / 454.2 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/0.008576, allocations: 73.11 kB / 454.2 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.008585, allocations: 8 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.251e-05/0.008598, allocations: 1.562 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.008631, allocations: 11.92 kB / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.008634, allocations: 3.938 kB / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.031e-05/0.008655, allocations: 29.23 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008655, allocations: 4.844 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.008801, allocations: 24 kB / 454.3 MB, free: 15.77 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001561/0.008957, allocations: 81.42 kB / 454.4 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.009203, allocations: 260.9 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.009207, allocations: 0 / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.009235, allocations: 24.83 kB / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.009408, allocations: 26.05 kB / 454.7 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.01009, allocations: 155.6 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.01014, allocations: 59.34 kB / 454.9 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.01018, allocations: 5.062 kB / 454.9 MB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.0103, allocations: 79.33 kB / 455 MB, free: 15 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.0103, allocations: 0.9375 kB / 455 MB, free: 15 MB / 442.7 MB Notification: Performance of Templates: time 0.004033/0.01433, allocations: 2.281 MB / 457.3 MB, free: 12.88 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5948394741863012]