Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006927/0.0006927, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009374/0.00163, allocations: 440 kB / 10.41 MB, free: 284 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.0006859/0.0006859, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009151/0.001601, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9554/0.9554, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.057, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8327/0.8327, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2654/1.098, allocations: 49.05 MB / 447.8 MB, free: 6.574 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/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 449.1 MB, free: 5.262 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.406e-05, allocations: 3 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001625/0.001649, allocations: 0.6955 MB / 449.8 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002941, allocations: 1.241 MB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.002976, allocations: 0 / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.002999, allocations: 3.938 kB / 451.1 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.003046, allocations: 21.11 kB / 451.1 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.003495, allocations: 206.5 kB / 451.3 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.00372, allocations: 168.8 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.003791, allocations: 13.08 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.00392, allocations: 98.55 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.004034, allocations: 50.09 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.004065, allocations: 12 kB / 451.6 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.004148, allocations: 33.83 kB / 451.7 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.00417, allocations: 5.422 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.004225, allocations: 34.97 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.004399, allocations: 106.3 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.004413, allocations: 0.9688 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004414, allocations: 4 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.004428, allocations: 2.844 kB / 451.8 MB, free: 2.648 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.0004691/0.004897, allocations: 349.9 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.004929, allocations: 12.03 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.004972, allocations: 12.92 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.00505, allocations: 109.8 kB / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005063, allocations: 4.938 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005084, allocations: 12.31 kB / 452.3 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.571e-05/0.00515, allocations: 50.8 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.005157, allocations: 1.438 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.005163, allocations: 384 / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.00517, allocations: 4.375 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.364e-05/0.005184, allocations: 7.938 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.008437, allocations: 172.9 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.00851, allocations: 43.98 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.008524, allocations: 8.859 kB / 452.6 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.00853, allocations: 0 / 452.6 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.008646, allocations: 72.27 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008647, allocations: 0 / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001413/0.008788, allocations: 90.8 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.008821, allocations: 51.41 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.008894, allocations: 122.6 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.008914, allocations: 34.31 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.008957, allocations: 92.14 kB / 453.1 MB, free: 1.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.00897, allocations: 14.45 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.009026, allocations: 45.67 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.009118, allocations: 318.8 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.009193, allocations: 99.38 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.009273, allocations: 133 kB / 453.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.009406, allocations: 148.8 kB / 453.8 MB, free: 472 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.009408, allocations: 0.5 kB / 453.8 MB, free: 472 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.009595, allocations: 262.2 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.009641, allocations: 69.86 kB / 454.1 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.009648, allocations: 7.922 kB / 454.1 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.009662, allocations: 4 kB / 454.1 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.846e-05/0.00968, allocations: 4.625 kB / 454.1 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.009683, allocations: 0.625 kB / 454.1 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.00984, allocations: 45.23 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.009856, allocations: 11.98 kB / 454.2 MB, free: 28 kB / 426.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 8.286e-05/0.009939, allocations: 122.4 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.00995, allocations: 8.609 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.009974, allocations: 13.09 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009977, allocations: 4 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.009978, allocations: 0.5312 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.009982, allocations: 3.938 kB / 454.3 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.01005, allocations: 78.5 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01005, allocations: 4.016 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.01006, allocations: 4 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.01006, allocations: 3.953 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01007, allocations: 7.984 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.01007, allocations: 0.9062 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01007, allocations: 3.938 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01007, allocations: 0.75 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01022, allocations: 89.03 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.01023, allocations: 0.625 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.01025, allocations: 0 / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.01028, allocations: 13.23 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.01028, allocations: 0 / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.0103, allocations: 25.25 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0103, allocations: 0.5312 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01049, allocations: 28 kB / 454.6 MB, free: 15.59 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.0001482/0.01063, allocations: 85.5 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.01085, allocations: 264 kB / 454.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.01086, allocations: 5.047 kB / 454.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.01088, allocations: 16.86 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.01104, allocations: 128.2 kB / 455.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.01149, allocations: 149.3 kB / 455.2 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.01152, allocations: 60.12 kB / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.01154, allocations: 9.719 kB / 455.3 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.01164, allocations: 79.34 kB / 455.4 MB, free: 14.69 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01164, allocations: 0 / 455.4 MB, free: 14.69 MB / 442.7 MB Notification: Performance of Templates: time 0.003647/0.01529, allocations: 2.248 MB / 457.6 MB, free: 12.6 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6168440422043204]