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.001395/0.001395, allocations: 80.75 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.001308/0.001308, 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.8098/0.8098, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.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 1.763e-06/1.763e-06, allocations: 0 / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.24e-05, allocations: 2.969 kB / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001435/0.001457, allocations: 0.6515 MB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002572, allocations: 1.244 MB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.002611, allocations: 1.75 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.002634, allocations: 3.938 kB / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.0027, allocations: 9.125 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.003126, allocations: 217.5 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.003293, allocations: 168.7 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.003357, allocations: 8.625 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.00347, allocations: 98.64 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.003568, allocations: 54.86 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.003592, allocations: 16 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.00365, allocations: 29.03 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.00367, allocations: 12.58 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.003719, allocations: 51.95 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003863, allocations: 137 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003865, allocations: 0 / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003866, allocations: 0 / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.003868, allocations: 0.75 kB / 482.7 MB, free: 4.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000313/0.004181, allocations: 331.3 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.004212, allocations: 8.656 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.004245, allocations: 12.92 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.004319, allocations: 114.7 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.004333, allocations: 12.36 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.004357, allocations: 13.59 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.718e-05/0.004414, allocations: 38.25 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.00442, allocations: 192 / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.004426, allocations: 1.562 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004433, allocations: 10.98 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.004445, allocations: 7.938 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.004672, allocations: 185.2 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.004718, allocations: 22.58 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.004731, allocations: 9.703 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.004737, allocations: 0 / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/0.004817, allocations: 84.83 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.004818, allocations: 3.938 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001174/0.004935, allocations: 73.59 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.004966, allocations: 51.41 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.005025, allocations: 124.1 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.005043, allocations: 29.7 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.005081, allocations: 92.09 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.005092, allocations: 15.92 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.005146, allocations: 50.45 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.005217, allocations: 314.8 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.005296, allocations: 104.6 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.005375, allocations: 142 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.005465, allocations: 137.4 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005467, allocations: 0 / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001776/0.005644, allocations: 257.2 kB / 484.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.00568, allocations: 72.02 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.005685, allocations: 3.938 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005696, allocations: 0.625 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.629e-05/0.005712, allocations: 4.625 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005717, allocations: 3.938 kB / 485 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.005857, allocations: 45.11 kB / 485 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.005875, allocations: 12.61 kB / 485 MB, free: 1.652 MB / 442.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.068e-05/0.005935, allocations: 114.6 kB / 485.1 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.005945, allocations: 11.98 kB / 485.2 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.005965, allocations: 13.03 kB / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005966, allocations: 0 / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005969, allocations: 1.75 kB / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005971, allocations: 0 / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.83e-05/0.006039, allocations: 81.88 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00604, allocations: 0 / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.006044, allocations: 0.9062 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006045, allocations: 0 / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.00605, allocations: 3.984 kB / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006053, allocations: 5.312 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006054, allocations: 3.938 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.881e-05/0.006123, allocations: 81.03 kB / 485.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.006129, allocations: 12.67 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006137, allocations: 0 / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.006152, allocations: 8 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.006177, allocations: 10.27 kB / 485.4 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.006181, allocations: 4 kB / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.451e-05/0.006196, allocations: 12.84 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006196, allocations: 0 / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.006326, allocations: 32 kB / 485.4 MB, free: 1.227 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 9.296e-05/0.006419, allocations: 92.75 kB / 485.5 MB, free: 1.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.006594, allocations: 255.4 kB / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006596, allocations: 1.812 kB / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.006619, allocations: 28.77 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.006721, allocations: 16.92 kB / 485.8 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.006924, allocations: 155.7 kB / 486 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.00695, allocations: 60.34 kB / 486 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.006968, allocations: 4 kB / 486 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.007057, allocations: 80.34 kB / 486.1 MB, free: 468 kB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007057, allocations: 0 / 486.1 MB, free: 468 kB / 442.7 MB Notification: Performance of Templates: time 0.003604/0.01066, allocations: 2.202 MB / 488.3 MB, free: 14.41 MB / 458.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.6616805461235344]