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.0008131/0.0008131, 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.001012/0.001012, allocations: 165 kB / 23.02 MB, free: 1.551 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.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.8114/0.8114, allocations: 154.6 MB / 414.5 MB, free: 0.6562 MB / 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. " [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 2.845e-06/2.845e-06, allocations: 1.094 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.174e-05, allocations: 4.859 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002283/0.002315, allocations: 0.6388 MB / 0.521 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.004017, allocations: 1.24 MB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.004071, allocations: 0 / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.004106, allocations: 4.469 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.004186, allocations: 16.89 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.004851, allocations: 208.5 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.005103, allocations: 176.4 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.005202, allocations: 9.031 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.005347, allocations: 91.86 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.005477, allocations: 59.83 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.005514, allocations: 17.56 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.005592, allocations: 20 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.00562, allocations: 15.92 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.005699, allocations: 43.95 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.008018, allocations: 144.7 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008021, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.51e-07/0.008022, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.008026, allocations: 0.6875 kB / 0.5229 GB, free: 15.55 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.0004793/0.008506, allocations: 459.9 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.008548, allocations: 13.31 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.008614, allocations: 16.83 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/0.008712, allocations: 120.5 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.008729, allocations: 5.656 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.008762, allocations: 12.38 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.008856, allocations: 38.25 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.008866, allocations: 192 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.008876, allocations: 1.156 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.008885, allocations: 4.375 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.008919, allocations: 16.77 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.009355, allocations: 323.6 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.009435, allocations: 45.73 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.009458, allocations: 7.688 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.009465, allocations: 4 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.009586, allocations: 89 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.009587, allocations: 0 / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002443/0.009832, allocations: 101.8 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.009865, allocations: 55.97 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.009974, allocations: 177.9 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01, allocations: 30.2 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.01007, allocations: 139.4 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.01009, allocations: 13 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.01018, allocations: 51.34 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01032, allocations: 0.4961 MB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.01047, allocations: 108.1 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.01064, allocations: 157.8 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.01081, allocations: 163.2 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01082, allocations: 4.5 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004287/0.01124, allocations: 321.2 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.01129, allocations: 68.36 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.0113, allocations: 4.078 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01132, allocations: 0.625 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.01134, allocations: 7.938 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01134, allocations: 5.234 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.01157, allocations: 44.59 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.0116, allocations: 11.98 kB / 0.5259 GB, free: 12.17 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 9.719e-05/0.01169, allocations: 169.6 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.01171, allocations: 19.86 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.01174, allocations: 8.438 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01175, allocations: 4 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01175, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01175, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.991e-05/0.01185, allocations: 128.6 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01186, allocations: 0 / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.01186, allocations: 10.42 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01187, allocations: 3.938 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01188, allocations: 3.938 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01188, allocations: 0 / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01188, allocations: 0 / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.01203, allocations: 116.4 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.01204, allocations: 9.047 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.01206, allocations: 3.938 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.01207, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.01211, allocations: 4.984 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01212, allocations: 8 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.01217, allocations: 135.2 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01217, allocations: 1.094 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002711/0.01244, allocations: 32 kB / 0.5266 GB, free: 11.46 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.0001245/0.01257, allocations: 105.3 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.01288, allocations: 281.8 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01288, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.01293, allocations: 31.61 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01316, allocations: 15.73 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.01348, allocations: 169.7 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.01352, allocations: 55.36 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.01355, allocations: 7.984 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.01357, allocations: 12.5 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.01357, allocations: 3.938 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.004604/0.01817, allocations: 2.048 MB / 0.5292 GB, free: 8.781 MB / 0.4948 GB " [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.8924009981565177]