Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008281/0.0008281, allocations: 80.94 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.001045/0.001045, allocations: 177 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 0.9781/0.9781, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8078/0.8078, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.324e-05, allocations: 5.828 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001279/0.001302, allocations: 0.6407 MB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.002569, allocations: 1.253 MB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.002611, allocations: 1.438 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.002637, allocations: 3.938 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.002717, allocations: 16.09 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.003206, allocations: 209.4 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.00341, allocations: 175.9 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.003481, allocations: 7.984 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003592, allocations: 93.78 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.003701, allocations: 53.66 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.003734, allocations: 16.62 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.003814, allocations: 35.33 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.003834, allocations: 7.938 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.003886, allocations: 51.94 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.00405, allocations: 135.6 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004052, allocations: 0 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004052, allocations: 0 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004056, allocations: 4 kB / 483.1 MB, free: 3.883 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.0003957/0.004451, allocations: 323.3 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.00449, allocations: 8.969 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.004531, allocations: 16.91 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.004637, allocations: 118.4 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.004653, allocations: 4.375 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.004682, allocations: 18.09 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.409e-05/0.004766, allocations: 38.23 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004774, allocations: 4.125 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004784, allocations: 4.375 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004789, allocations: 384 / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.004806, allocations: 12.75 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.005056, allocations: 176.3 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.005112, allocations: 32.69 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.005127, allocations: 16.88 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.005134, allocations: 4.656 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.167e-05/0.005226, allocations: 68.55 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.005227, allocations: 0 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001281/0.005355, allocations: 81.58 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.00539, allocations: 63.84 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.005449, allocations: 114.7 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.005469, allocations: 34.83 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.005507, allocations: 92.11 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.005519, allocations: 15.89 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.00558, allocations: 42.23 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.005651, allocations: 323.4 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.005722, allocations: 95.38 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.005804, allocations: 128.8 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.00591, allocations: 146.1 kB / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005912, allocations: 0 / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001959/0.006108, allocations: 256.3 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.006153, allocations: 67.89 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.00616, allocations: 9 kB / 485.3 MB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006173, allocations: 4 kB / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-05/0.00619, allocations: 0 / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.006195, allocations: 4.625 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.006343, allocations: 48.88 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.00636, allocations: 8 kB / 485.4 MB, free: 1.297 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 7.506e-05/0.006435, allocations: 123.5 kB / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.006446, allocations: 4.797 kB / 485.5 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.006468, allocations: 12.38 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00647, allocations: 0.625 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006473, allocations: 7.922 kB / 485.5 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006476, allocations: 0.625 kB / 485.5 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.926e-05/0.006546, allocations: 74.52 kB / 485.6 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.006547, allocations: 3.984 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.006552, allocations: 0.625 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.006554, allocations: 1.078 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006559, allocations: 4.625 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.006561, allocations: 0.625 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.006563, allocations: 3.938 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.006641, allocations: 86 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.006648, allocations: 4.828 kB / 485.7 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.006659, allocations: 8 kB / 485.7 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.00667, allocations: 3.984 kB / 485.7 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.006696, allocations: 9.656 kB / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.006701, allocations: 11.94 kB / 485.7 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.624e-05/0.006718, allocations: 16.84 kB / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006718, allocations: 0 / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000124/0.006842, allocations: 25.22 kB / 485.8 MB, free: 0.8633 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.0001109/0.006952, allocations: 84.41 kB / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.007154, allocations: 264.5 kB / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.007156, allocations: 0 / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.007176, allocations: 16.86 kB / 486.1 MB, free: 468 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.007297, allocations: 18.05 kB / 486.2 MB, free: 452 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.007526, allocations: 155 kB / 486.3 MB, free: 268 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.947e-05/0.007555, allocations: 63.34 kB / 486.4 MB, free: 184 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.007577, allocations: 6.547 kB / 486.4 MB, free: 180 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.007669, allocations: 79.34 kB / 486.5 MB, free: 100 kB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.00767, allocations: 0 / 486.5 MB, free: 100 kB / 442.7 MB Notification: Performance of Templates: time 0.003711/0.01138, allocations: 2.205 MB / 488.7 MB, free: 14.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.871585509274155]