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.001298/0.001298, allocations: 93.06 kB / 19.65 MB, free: 272 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.001155/0.001155, allocations: 165 kB / 23.02 MB, free: 1.547 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7859/0.7859, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 2.545e-06/2.545e-06, allocations: 0.9844 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.394e-05, allocations: 5.156 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00149/0.001524, allocations: 0.6935 MB / 0.521 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002817, allocations: 1.315 MB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.002863, allocations: 4 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.002895, allocations: 8.484 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.002973, allocations: 20.36 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.003572, allocations: 298.2 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.003818, allocations: 251.6 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.003916, allocations: 28.98 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.004053, allocations: 131.9 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.004182, allocations: 75.81 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.004216, allocations: 24.97 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.004289, allocations: 39.92 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.004313, allocations: 21.5 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.004386, allocations: 67.94 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.004873, allocations: 195.5 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004875, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004875, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.00488, allocations: 0.8125 kB / 0.5234 GB, free: 15.05 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.000439/0.005319, allocations: 0.5053 MB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.005358, allocations: 13.31 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.005418, allocations: 24.81 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.005509, allocations: 120.5 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.005533, allocations: 13.72 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.005562, allocations: 12.38 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.005665, allocations: 74.89 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.005677, allocations: 192 / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005689, allocations: 1.156 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.005698, allocations: 4.125 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.005732, allocations: 13.55 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.006165, allocations: 379.5 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.006216, allocations: 31.05 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.00624, allocations: 15.69 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.006248, allocations: 6.422 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.006358, allocations: 104.8 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.006359, allocations: 0 / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002191/0.006578, allocations: 125.5 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.006608, allocations: 59.39 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.006704, allocations: 192.3 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.00673, allocations: 38.64 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.006797, allocations: 146.9 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.006814, allocations: 23.83 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.274e-05/0.006897, allocations: 72.27 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.007011, allocations: 0.4923 MB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.007164, allocations: 165.5 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.007332, allocations: 228.9 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.007507, allocations: 245.3 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007509, allocations: 0 / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004195/0.007929, allocations: 465.3 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.007997, allocations: 103.5 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.008003, allocations: 0 / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.008023, allocations: 4 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.008044, allocations: 8 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.008051, allocations: 0 / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.008279, allocations: 66.95 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.008306, allocations: 15.98 kB / 0.527 GB, free: 10.97 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 9.402e-05/0.0084, allocations: 183.9 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.008417, allocations: 23.81 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.008447, allocations: 8.438 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008449, allocations: 0.5 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008454, allocations: 4 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008457, allocations: 1.469 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.22e-05/0.008549, allocations: 136.6 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00855, allocations: 0 / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-06/0.008557, allocations: 4 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.00856, allocations: 6.438 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.008568, allocations: 7.984 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.00857, allocations: 0 / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008571, allocations: 0 / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.00871, allocations: 140.3 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.008721, allocations: 11.94 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008733, allocations: 6.688 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.008748, allocations: 4 kB / 0.5275 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.008782, allocations: 7.984 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.00879, allocations: 8 kB / 0.5276 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.008836, allocations: 145.1 kB / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008836, allocations: 0 / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001814/0.009017, allocations: 39.98 kB / 0.5277 GB, free: 10.19 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.0001196/0.009137, allocations: 100.4 kB / 0.5278 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.00946, allocations: 407.9 kB / 0.5282 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009461, allocations: 0 / 0.5282 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.009502, allocations: 45.38 kB / 0.5283 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.009705, allocations: 20.64 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.01002, allocations: 200 kB / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.01005, allocations: 63.34 kB / 0.5285 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.01008, allocations: 10 kB / 0.5285 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.0101, allocations: 12.5 kB / 0.5286 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.0101, allocations: 0 / 0.5286 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.00473/0.01483, allocations: 2.92 MB / 0.5314 GB, free: 6.484 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.9434829680249095]