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.0009787/0.0009787, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009668/0.0009668, allocations: 169 kB / 23.27 MB, free: 1.223 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.9785/0.9785, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.8761/0.8761, allocations: 154.9 MB / 415.1 MB, free: 292 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 3.657e-06/3.657e-06, allocations: 0 / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.897e-05/4.263e-05, allocations: 4.422 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001627/0.001669, allocations: 0.6396 MB / 0.5218 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003122, allocations: 1.23 MB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.003181, allocations: 4 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.003218, allocations: 8.484 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.003308, allocations: 12.39 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.003836, allocations: 212.9 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.004086, allocations: 169.2 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004221, allocations: 8 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.004387, allocations: 99.84 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.004669, allocations: 48.53 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.004707, allocations: 16.81 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.004798, allocations: 24 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.004834, allocations: 11.92 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.004903, allocations: 53.7 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.005131, allocations: 139.6 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.005136, allocations: 0 / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005137, allocations: 0 / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.005143, allocations: 0.5625 kB / 0.5237 GB, free: 14.88 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.0005968/0.005739, allocations: 463.9 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.005797, allocations: 9.031 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.005867, allocations: 16.89 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.00598, allocations: 114 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.006002, allocations: 4.375 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.006026, allocations: 16.31 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.006138, allocations: 38.25 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.006149, allocations: 0.9688 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.006165, allocations: 8.359 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.006175, allocations: 1.625 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.006196, allocations: 7.938 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.006669, allocations: 316.3 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.006762, allocations: 37.66 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.006786, allocations: 15.77 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.0068, allocations: 0 / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.006969, allocations: 81.02 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.006972, allocations: 0 / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002473/0.007219, allocations: 93.5 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.007273, allocations: 55.89 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007402, allocations: 185.8 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.00743, allocations: 31.11 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.007517, allocations: 138.9 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007538, allocations: 15.89 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.007615, allocations: 56.3 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.007791, allocations: 496.1 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.007896, allocations: 103.4 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.008008, allocations: 150.7 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.008144, allocations: 163 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.008148, allocations: 0.5938 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000344/0.008492, allocations: 302.1 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.008563, allocations: 75.33 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.008572, allocations: 0 / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.008593, allocations: 0.625 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.897e-05/0.008622, allocations: 7.984 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.008627, allocations: 1.812 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.00885, allocations: 39.97 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.008874, allocations: 11.98 kB / 0.5267 GB, free: 11.57 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.0001362/0.009011, allocations: 174.1 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.00903, allocations: 7.953 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.009083, allocations: 20.36 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.009086, allocations: 0.875 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.00909, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.009096, allocations: 6.672 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.009233, allocations: 105.2 kB / 0.527 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.009236, allocations: 0 / 0.527 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.009248, allocations: 8 kB / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.009253, allocations: 0 / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.00926, allocations: 0 / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009262, allocations: 0 / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.009266, allocations: 3.938 kB / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.009429, allocations: 115.4 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.009444, allocations: 7.953 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.00946, allocations: 7.984 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.647e-05/0.009487, allocations: 4.062 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.009536, allocations: 7.938 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.009542, allocations: 7.922 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.009613, allocations: 135.2 kB / 0.5272 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009613, allocations: 0 / 0.5272 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001863/0.009799, allocations: 33.77 kB / 0.5273 GB, free: 10.89 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.0002263/0.01003, allocations: 95.25 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.01034, allocations: 272.3 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01034, allocations: 0 / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.01038, allocations: 31.59 kB / 0.5277 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.01065, allocations: 18.73 kB / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.01108, allocations: 158.7 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01113, allocations: 59.34 kB / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.01116, allocations: 4 kB / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.01129, allocations: 102.2 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.835e-06/0.01129, allocations: 0 / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.004961/0.01625, allocations: 2.231 MB / 0.5302 GB, free: 7.961 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: 3.8173883580602705]