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.0006699/0.0006699, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009596/0.00163, 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.0007344/0.0007344, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008823/0.001617, 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.126, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7826/0.7826, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.3105/1.093, allocations: 49.12 MB / 448.4 MB, free: 6.051 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-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 1.984e-06/1.984e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.167e-05, allocations: 4.562 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001155/0.001177, allocations: 0.6837 MB / 450.4 MB, free: 4.109 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002248, allocations: 1.249 MB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.002286, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.002307, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.002348, allocations: 13.11 kB / 451.6 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.002747, allocations: 209.4 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.002998, allocations: 173.6 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.00308, allocations: 8.984 kB / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.003218, allocations: 106.9 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.003334, allocations: 49.66 kB / 452.2 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.00337, allocations: 17.66 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.00345, allocations: 24 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.00347, allocations: 10.28 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.003525, allocations: 35.94 kB / 452.3 MB, free: 2.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.003682, allocations: 105.7 kB / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.003697, allocations: 0 / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003698, allocations: 0 / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.003715, allocations: 0 / 452.4 MB, free: 2.148 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.0004528/0.004168, allocations: 353.9 kB / 452.7 MB, free: 1.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.004198, allocations: 10.16 kB / 452.7 MB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.004237, allocations: 12.92 kB / 452.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.00432, allocations: 118.9 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.004341, allocations: 4.375 kB / 452.8 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.004361, allocations: 20.3 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.789e-05/0.004429, allocations: 38.25 kB / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.004436, allocations: 0.8438 kB / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.004443, allocations: 384 / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.004448, allocations: 6.344 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.004467, allocations: 11.92 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.004711, allocations: 172.3 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.004772, allocations: 31.28 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.004786, allocations: 9.516 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.004792, allocations: 0 / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.0049, allocations: 84.23 kB / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.004901, allocations: 0 / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001312/0.005032, allocations: 78.17 kB / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.005077, allocations: 56.89 kB / 453.3 MB, free: 1.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.00515, allocations: 122.6 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.005169, allocations: 29.7 kB / 453.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.005215, allocations: 96.12 kB / 453.6 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.005229, allocations: 17.97 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.005293, allocations: 41.69 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.005379, allocations: 314.8 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.005455, allocations: 99.38 kB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.005545, allocations: 139.6 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.005666, allocations: 151.2 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.00567, allocations: 4 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/0.005855, allocations: 265.1 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.005902, allocations: 67.89 kB / 454.7 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.00591, allocations: 9.141 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005919, allocations: 0 / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.005938, allocations: 4.906 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.005941, allocations: 0 / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.006092, allocations: 48.91 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.006108, allocations: 8.609 kB / 454.7 MB, free: 15.52 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.711e-05/0.006175, allocations: 123.1 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.006183, allocations: 4 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.006208, allocations: 20.36 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00621, allocations: 0.5 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.006213, allocations: 4.047 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006216, allocations: 0 / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.417e-05/0.00629, allocations: 77.81 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.006292, allocations: 4 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.006297, allocations: 1.062 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.006305, allocations: 7.953 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006306, allocations: 0 / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.00631, allocations: 0.7188 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006312, allocations: 3.938 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006313, allocations: 0.9062 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.482e-05/0.006388, allocations: 89.34 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.006398, allocations: 4.578 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.00641, allocations: 0 / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.006435, allocations: 9.375 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.00644, allocations: 7.984 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.353e-05/0.006454, allocations: 16.84 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006454, allocations: 0.7812 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001266/0.006581, allocations: 28 kB / 455.1 MB, free: 15.09 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.926e-05/0.00668, allocations: 85.84 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.006887, allocations: 263.8 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.006892, allocations: 3.938 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.006922, allocations: 25.44 kB / 455.5 MB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.007041, allocations: 21.83 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.007466, allocations: 154.2 kB / 455.7 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.0075, allocations: 59.22 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.343e-05/0.007524, allocations: 11.02 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.007619, allocations: 79.34 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007619, allocations: 0.5938 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of Templates: time 0.003625/0.01124, allocations: 2.286 MB / 458.1 MB, free: 12.19 MB / 442.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.7013222705572844]