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.0008558/0.0008558, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0008754/0.0008754, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8996/0.8996, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.7187/0.7187, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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 1.753e-06/1.753e-06, allocations: 0 / 0.5215 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.882e-05, allocations: 5.25 kB / 0.5215 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00143/0.001449, allocations: 0.6347 MB / 0.5222 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.002919, allocations: 1.236 MB / 0.5234 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.002965, allocations: 0.875 kB / 0.5234 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002993, allocations: 4.906 kB / 0.5234 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.003069, allocations: 15.86 kB / 0.5234 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.003629, allocations: 213.1 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.003854, allocations: 172.3 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.00393, allocations: 8.5 kB / 0.5238 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.00406, allocations: 87.92 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.00418, allocations: 60.88 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.00421, allocations: 12 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.004279, allocations: 28.95 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.004303, allocations: 7.984 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.004365, allocations: 51.89 kB / 0.524 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.004548, allocations: 140.2 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004552, allocations: 4 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.894e-06/0.004554, allocations: 5.312 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004557, allocations: 0 / 0.5241 GB, free: 15.29 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.0004221/0.004979, allocations: 459.9 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.005013, allocations: 8.656 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.005068, allocations: 16.89 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.005147, allocations: 110.1 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.005163, allocations: 12.38 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.005188, allocations: 12.36 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.361e-05/0.005262, allocations: 46.19 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005269, allocations: 0.7812 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.005276, allocations: 1.781 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005281, allocations: 384 / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.005302, allocations: 15.92 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.005638, allocations: 304.3 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.005694, allocations: 35.75 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.00571, allocations: 20.77 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-06/0.005714, allocations: 0 / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.218e-05/0.005796, allocations: 77.02 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005797, allocations: 1.062 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001439/0.005941, allocations: 97.5 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.005971, allocations: 57.91 kB / 0.5254 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.006044, allocations: 181.8 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.006065, allocations: 33.7 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.006113, allocations: 138.9 kB / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.006123, allocations: 7.906 kB / 0.5257 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.006182, allocations: 59.33 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.006281, allocations: 0.4923 MB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.006354, allocations: 101 kB / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.006439, allocations: 152.8 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.006534, allocations: 158.7 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006535, allocations: 0 / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.006772, allocations: 301.4 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.006807, allocations: 71.92 kB / 0.527 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.006811, allocations: 4.969 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.00682, allocations: 4 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-05/0.006833, allocations: 0 / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006837, allocations: 4.719 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.006981, allocations: 42.64 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.007003, allocations: 11.98 kB / 0.5271 GB, free: 12 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.031e-05/0.007073, allocations: 172.5 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.007084, allocations: 11.94 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.007104, allocations: 16.38 kB / 0.5272 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007106, allocations: 2.938 kB / 0.5273 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007107, allocations: 0 / 0.5273 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00711, allocations: 0 / 0.5273 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.566e-05/0.007176, allocations: 109.2 kB / 0.5274 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007177, allocations: 4 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.007182, allocations: 3.984 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.007183, allocations: 0 / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.007188, allocations: 4.062 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007189, allocations: 1.5 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00719, allocations: 8.25 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.623e-05/0.007277, allocations: 116.3 kB / 0.5275 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.007284, allocations: 7.953 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-06/0.007291, allocations: 3.281 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.007301, allocations: 0 / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.007327, allocations: 15.92 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.007471, allocations: 4 kB / 0.5275 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.007509, allocations: 131.2 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007509, allocations: 0 / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001459/0.007655, allocations: 32 kB / 0.5277 GB, free: 11.31 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.194e-05/0.007737, allocations: 101.7 kB / 0.5278 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.007921, allocations: 261.8 kB / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007922, allocations: 0 / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.007948, allocations: 35.59 kB / 0.5281 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.008088, allocations: 16.08 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.008276, allocations: 159.7 kB / 0.5282 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.54e-05/0.008302, allocations: 63.3 kB / 0.5283 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.008321, allocations: 9.016 kB / 0.5283 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.008413, allocations: 102.2 kB / 0.5284 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 5e-07/0.008413, allocations: 0 / 0.5284 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.003129/0.01154, allocations: 2.27 MB / 0.5306 GB, free: 8.352 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.42851474089548]