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.0009285/0.0009285, allocations: 73.09 kB / 20.66 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.0009123/0.0009123, allocations: 169 kB / 24.06 MB, free: 456 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.9148/0.9148, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7736/0.7736, allocations: 154.6 MB / 415.6 MB, free: 0.5117 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.192e-06/1.192e-06, allocations: 0 / 0.5215 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.648e-05, allocations: 7.844 kB / 0.5215 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001119/0.001135, allocations: 0.6708 MB / 0.5222 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.002263, allocations: 1.311 MB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.002307, allocations: 0 / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.002333, allocations: 7.922 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.002403, allocations: 20.78 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.002914, allocations: 305.1 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.003129, allocations: 260.2 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.003201, allocations: 13.72 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.00333, allocations: 147.8 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.003443, allocations: 71.81 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003474, allocations: 20 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.003539, allocations: 40.55 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.003561, allocations: 13.42 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.003623, allocations: 71.88 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.003804, allocations: 195.5 kB / 0.5246 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003806, allocations: 4 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003806, allocations: 0.75 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003811, allocations: 0 / 0.5246 GB, free: 14.75 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.0003983/0.004209, allocations: 0.5063 MB / 0.5251 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.00424, allocations: 8.031 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.00429, allocations: 28.81 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.004366, allocations: 121.6 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.004384, allocations: 4.375 kB / 0.5253 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.004413, allocations: 16.38 kB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.585e-05/0.004489, allocations: 65.39 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.004497, allocations: 4.172 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004504, allocations: 384 / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.00451, allocations: 8.125 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.004529, allocations: 15.95 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.004849, allocations: 352.2 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.004891, allocations: 36.64 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.004906, allocations: 11.69 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-06/0.004911, allocations: 0 / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.005003, allocations: 112.9 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.005004, allocations: 0.5 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001721/0.005176, allocations: 118.6 kB / 0.526 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.005205, allocations: 55.41 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.005284, allocations: 195.5 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.005306, allocations: 34.77 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.005366, allocations: 150.8 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.005381, allocations: 19.89 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.005459, allocations: 75.92 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.005565, allocations: 0.4933 MB / 0.527 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.005669, allocations: 149 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.005793, allocations: 224.1 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.005934, allocations: 229.6 kB / 0.5275 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005936, allocations: 0 / 0.5275 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003342/0.00627, allocations: 442.9 kB / 0.5279 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.006316, allocations: 101 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006319, allocations: 0 / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.006328, allocations: 4 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.03e-05/0.006348, allocations: 11.98 kB / 0.5281 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006351, allocations: 0 / 0.5281 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.006544, allocations: 58.86 kB / 0.5281 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.006571, allocations: 23.97 kB / 0.5281 GB, free: 10.77 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 8.191e-05/0.006653, allocations: 176 kB / 0.5283 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.006666, allocations: 11.89 kB / 0.5283 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.006685, allocations: 13.94 kB / 0.5283 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006687, allocations: 0 / 0.5283 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006688, allocations: 0 / 0.5283 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006692, allocations: 3.984 kB / 0.5283 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.22e-05/0.006774, allocations: 124.4 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006776, allocations: 0 / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-06/0.006779, allocations: 4 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00678, allocations: 0 / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.006787, allocations: 7.984 kB / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006788, allocations: 3.938 kB / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006789, allocations: 0 / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.006892, allocations: 136.3 kB / 0.5286 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.006899, allocations: 3.953 kB / 0.5286 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.00691, allocations: 10.42 kB / 0.5286 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.006924, allocations: 11.88 kB / 0.5286 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.006946, allocations: 7.984 kB / 0.5286 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.00695, allocations: 0 / 0.5286 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.006992, allocations: 149.2 kB / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006992, allocations: 0 / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001696/0.007161, allocations: 41.06 kB / 0.5288 GB, free: 10.03 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 8.968e-05/0.007251, allocations: 110.3 kB / 0.5289 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.007507, allocations: 387.8 kB / 0.5293 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007508, allocations: 0 / 0.5293 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.007542, allocations: 45.64 kB / 0.5293 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.007699, allocations: 23.98 kB / 0.5294 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.007921, allocations: 192.2 kB / 0.5295 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.007949, allocations: 63.34 kB / 0.5296 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.007969, allocations: 4.5 kB / 0.5296 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.0081, allocations: 126.1 kB / 0.5297 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.008101, allocations: 0 / 0.5297 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.003989/0.01209, allocations: 3.22 MB / 0.5329 GB, free: 5.949 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.641552211716771]