Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.000938/0.000938, 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.001474/0.001474, 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.9092/0.9092, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7847/0.7847, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.637e-05, allocations: 4.312 kB / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001171/0.001187, allocations: 0.6746 MB / 0.5214 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.00256, allocations: 1.32 MB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.002604, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.00263, allocations: 3.938 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.002706, allocations: 23.78 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.00321, allocations: 305.3 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.003409, allocations: 260.8 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.003489, allocations: 12.17 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.003618, allocations: 140.5 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.003731, allocations: 81.3 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.003763, allocations: 20 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.003824, allocations: 31.98 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003847, allocations: 19.92 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.003905, allocations: 76.7 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.004078, allocations: 191.5 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004079, allocations: 0 / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.00408, allocations: 5 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004084, allocations: 4 kB / 0.5238 GB, free: 14.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004585/0.004542, allocations: 0.5102 MB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004579, allocations: 8.031 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.004624, allocations: 16.89 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.004703, allocations: 125.4 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.004722, allocations: 12.38 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.004743, allocations: 12.38 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/0.004825, allocations: 59.5 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004832, allocations: 0.9062 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.00484, allocations: 4.375 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.004847, allocations: 8.875 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.004866, allocations: 11.92 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.005199, allocations: 349.2 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.815e-05/0.005237, allocations: 35.05 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005255, allocations: 22.64 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.005261, allocations: 0 / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.935e-05/0.00536, allocations: 100.9 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.005361, allocations: 0 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001775/0.005539, allocations: 121.5 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.005568, allocations: 55.41 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.005659, allocations: 191.6 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.005684, allocations: 34.83 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.005744, allocations: 150.8 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005758, allocations: 15.89 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.005832, allocations: 71.88 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.005947, allocations: 0.4923 MB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.006048, allocations: 149.6 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.006172, allocations: 237.8 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.00631, allocations: 228.7 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006312, allocations: 0 / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003224/0.006635, allocations: 440 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.006681, allocations: 114.1 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006685, allocations: 0 / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006697, allocations: 4 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.428e-05/0.006712, allocations: 6.75 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.006715, allocations: 3.938 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.006906, allocations: 63.88 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.006929, allocations: 15.98 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.717e-05/0.007006, allocations: 174.5 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.007019, allocations: 15.88 kB / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.007043, allocations: 12.44 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007046, allocations: 3.984 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007048, allocations: 0 / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007051, allocations: 0.625 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.667e-05/0.007127, allocations: 125.2 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007129, allocations: 1.031 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.007132, allocations: 4 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007133, allocations: 3.938 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.007138, allocations: 4.656 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.00714, allocations: 7.375 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00714, allocations: 0 / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007248, allocations: 140.3 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-06/0.007257, allocations: 3.953 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.007269, allocations: 8 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.007283, allocations: 7.922 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.007312, allocations: 11.98 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.007316, allocations: 0 / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.007361, allocations: 136.2 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007361, allocations: 0 / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001646/0.007525, allocations: 46.75 kB / 0.5281 GB, free: 10.04 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001143/0.00764, allocations: 103.2 kB / 0.5282 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.007924, allocations: 394.8 kB / 0.5285 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007925, allocations: 0.5625 kB / 0.5285 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.007957, allocations: 34.17 kB / 0.5286 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.008136, allocations: 32.62 kB / 0.5286 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.008414, allocations: 190.7 kB / 0.5288 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.008451, allocations: 65.73 kB / 0.5288 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.008475, allocations: 8.484 kB / 0.5288 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.008606, allocations: 118.2 kB / 0.529 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.008607, allocations: 0 / 0.529 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.004107/0.01271, allocations: 3.163 MB / 0.532 GB, free: 6.023 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7021602666936815]