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.001051/0.001051, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009934/0.0009934, allocations: 165 kB / 23.02 MB, free: 1.555 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.9921/0.9921, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7784/0.7784, allocations: 154.8 MB / 414.7 MB, free: 0.5039 MB / 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.164e-06/2.164e-06, allocations: 0 / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.427e-05, allocations: 3.281 kB / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001234/0.001258, allocations: 0.6435 MB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002486, allocations: 1.247 MB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.002524, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.002552, allocations: 5.281 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.002617, allocations: 15.88 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.00312, allocations: 208.8 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.0033, allocations: 178.4 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.003381, allocations: 0 / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003483, allocations: 103.8 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.003578, allocations: 51.91 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.003606, allocations: 16 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.003664, allocations: 20 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.003685, allocations: 15.92 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.003739, allocations: 44.45 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.003902, allocations: 144 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.003905, allocations: 3.984 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003906, allocations: 0.9688 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003909, allocations: 0 / 0.5232 GB, free: 15.3 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.0004029/0.004312, allocations: 457.5 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004349, allocations: 12.03 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.004403, allocations: 16.89 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.004484, allocations: 120.5 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.004498, allocations: 5.312 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.004519, allocations: 8.375 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.13e-05/0.0046, allocations: 50.17 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004608, allocations: 1.594 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.004617, allocations: 384 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.004625, allocations: 384 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.004648, allocations: 11.94 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.005022, allocations: 324.9 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.005112, allocations: 42.98 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.005133, allocations: 12.38 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.00514, allocations: 4 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.00524, allocations: 86.33 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005242, allocations: 0 / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001873/0.005429, allocations: 97.55 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.005459, allocations: 60.53 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.005542, allocations: 177.9 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.005563, allocations: 33.7 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.005618, allocations: 139.5 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.005629, allocations: 13.78 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.00569, allocations: 51.34 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005796, allocations: 0.4923 MB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.005897, allocations: 107.4 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.006009, allocations: 164.8 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.006137, allocations: 163.4 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006139, allocations: 0 / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002847/0.006423, allocations: 327.4 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.00646, allocations: 67.39 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006465, allocations: 4 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.006478, allocations: 0 / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.565e-05/0.006494, allocations: 4 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.006498, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.006657, allocations: 46.67 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.006677, allocations: 12 kB / 0.5262 GB, free: 11.93 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 7.627e-05/0.006753, allocations: 172.5 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.006764, allocations: 11.89 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.006788, allocations: 9.844 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006791, allocations: 4 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.006796, allocations: 3.984 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006799, allocations: 0 / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.809e-05/0.006877, allocations: 129.1 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006878, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.006883, allocations: 5.031 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006884, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.006893, allocations: 9.125 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006894, allocations: 0 / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006894, allocations: 0 / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.731e-05/0.006992, allocations: 116.6 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.006999, allocations: 8.453 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.00701, allocations: 6.031 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.007023, allocations: 11.98 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.007054, allocations: 3.938 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.007061, allocations: 7.984 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.007102, allocations: 131.2 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007102, allocations: 0 / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001539/0.007256, allocations: 26.44 kB / 0.5268 GB, free: 11.23 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 8.997e-05/0.007346, allocations: 103.2 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.007575, allocations: 281.8 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007576, allocations: 2.156 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.007607, allocations: 31.67 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007758, allocations: 16.92 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.007996, allocations: 167.7 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.008025, allocations: 55.36 kB / 0.5274 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.008045, allocations: 8.922 kB / 0.5274 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.008063, allocations: 12.5 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.008064, allocations: 1.562 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.003891/0.01195, allocations: 2.042 MB / 0.5294 GB, free: 8.535 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: 4.003233226947486]