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.001726/0.001726, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002243/0.002243, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.594/1.594, allocations: 177.2 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 1.399/1.399, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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.295e-06/2.295e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.446e-05, allocations: 6.031 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001896/0.001931, allocations: 0.6366 MB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.00376, allocations: 1.214 MB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.003801, allocations: 0 / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.003827, allocations: 7.875 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.003906, allocations: 11.92 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.004519, allocations: 209.5 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.004794, allocations: 173 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.004877, allocations: 11.98 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.005048, allocations: 91.86 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.005186, allocations: 51.92 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.00523, allocations: 12.78 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.005318, allocations: 31.97 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.00534, allocations: 9.531 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.005429, allocations: 51.94 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005724, allocations: 179.5 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005726, allocations: 0 / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005727, allocations: 2.312 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00573, allocations: 0 / 0.5225 GB, free: 15.62 MB / 0.4948 GB 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.0006299/0.00636, allocations: 471.5 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.006397, allocations: 8.031 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.006471, allocations: 16.89 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.006603, allocations: 116.5 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.006636, allocations: 8.859 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.006673, allocations: 16.36 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006785, allocations: 43.72 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006792, allocations: 4.188 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006802, allocations: 384 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.006806, allocations: 384 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.006854, allocations: 20.89 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.007395, allocations: 331.7 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.007489, allocations: 36.03 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.007528, allocations: 23.77 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.007538, allocations: 0.5 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.007714, allocations: 93.59 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007715, allocations: 0 / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002911/0.008006, allocations: 110.8 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.008057, allocations: 51.41 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.008232, allocations: 189.8 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.00827, allocations: 30.33 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.008387, allocations: 142.8 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.008409, allocations: 17.7 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.008537, allocations: 59.34 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002873/0.008824, allocations: 0.4883 MB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.009052, allocations: 147.3 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.009308, allocations: 185.8 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.009574, allocations: 183.5 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009576, allocations: 1.375 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005845/0.01016, allocations: 356.7 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.01024, allocations: 67.92 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01024, allocations: 4.75 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01025, allocations: 0 / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/0.01028, allocations: 16.52 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01029, allocations: 1.75 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.01059, allocations: 39.97 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.01062, allocations: 14.52 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB 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 0.0001442/0.01076, allocations: 164.6 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.01078, allocations: 11.89 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.01082, allocations: 16.42 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01082, allocations: 0 / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01082, allocations: 0 / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01082, allocations: 2.75 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01098, allocations: 136.5 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01098, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.01099, allocations: 4 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01099, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.01101, allocations: 11.92 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01101, allocations: 3.938 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01101, allocations: 5.109 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.01121, allocations: 124.4 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.01122, allocations: 0 / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01124, allocations: 8.875 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.01126, allocations: 4 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.0113, allocations: 3.984 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01131, allocations: 4.938 kB / 0.5261 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001025/0.01141, allocations: 139.1 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01141, allocations: 1.094 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002388/0.01165, allocations: 35.95 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB 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.0001629/0.01181, allocations: 108.9 kB / 0.5264 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.01229, allocations: 333.8 kB / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01229, allocations: 0 / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.01236, allocations: 32.33 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01258, allocations: 19.17 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.01295, allocations: 160 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.01303, allocations: 75.33 kB / 0.527 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.01306, allocations: 6.438 kB / 0.527 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.01309, allocations: 12.5 kB / 0.527 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01309, allocations: 4 kB / 0.527 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.005702/0.01879, allocations: 2.049 MB / 0.529 GB, free: 8.578 MB / 0.4948 GB " [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: 6.1176609030226246]