Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0008786/0.0008786, allocations: 77.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.0009064/0.0009064, 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.9181/0.9181, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7807/0.7807, allocations: 154.6 MB / 415.6 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.374e-05, allocations: 4.625 kB / 0.5215 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00151/0.001533, allocations: 0.7948 MB / 0.5223 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.002736, allocations: 1.344 MB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.002787, allocations: 0 / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.002817, allocations: 7.875 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.002896, allocations: 28.88 kB / 0.5237 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.003412, allocations: 317.2 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.003643, allocations: 292.8 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003749, allocations: 33.59 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.003906, allocations: 159.8 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.004028, allocations: 91.72 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.004062, allocations: 24.69 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.004122, allocations: 33.84 kB / 0.5246 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.004149, allocations: 31.84 kB / 0.5246 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.004219, allocations: 83.86 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.004423, allocations: 227.3 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004426, allocations: 0 / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.123e-06/0.004427, allocations: 1.875 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004431, allocations: 0 / 0.5249 GB, free: 14.47 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004525/0.004883, allocations: 0.548 MB / 0.5254 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.004915, allocations: 8.031 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.004972, allocations: 32.84 kB / 0.5255 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.00514, allocations: 178.4 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.00516, allocations: 12.38 kB / 0.5257 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.005188, allocations: 20.38 kB / 0.5257 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.005282, allocations: 84.19 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.005288, allocations: 0.9688 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.005297, allocations: 3.984 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.005301, allocations: 4 kB / 0.5258 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.005335, allocations: 20.95 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.005709, allocations: 409.2 kB / 0.5262 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.005828, allocations: 66.91 kB / 0.5262 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.005848, allocations: 19.8 kB / 0.5263 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.005856, allocations: 8.484 kB / 0.5263 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-05/0.005953, allocations: 104.7 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.005954, allocations: 4 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0001915/0.006145, allocations: 142.7 kB / 0.5265 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.006175, allocations: 55.34 kB / 0.5266 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.006266, allocations: 217.4 kB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.006293, allocations: 37.7 kB / 0.5268 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.006354, allocations: 151.3 kB / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006372, allocations: 33.56 kB / 0.527 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.006455, allocations: 83.3 kB / 0.5271 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006574, allocations: 0.4962 MB / 0.5275 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.00669, allocations: 153 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.006821, allocations: 230.5 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.00697, allocations: 240.7 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006972, allocations: 3.938 kB / 0.5281 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003509/0.007323, allocations: 456.5 kB / 0.5286 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.007365, allocations: 93.09 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00737, allocations: 4.938 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.007377, allocations: 3.938 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.007414, allocations: 22.98 kB / 0.5287 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007417, allocations: 0 / 0.5287 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.007604, allocations: 63.84 kB / 0.5288 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.007631, allocations: 23.97 kB / 0.5288 GB, free: 10.14 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.655e-05/0.007717, allocations: 179.2 kB / 0.529 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.007734, allocations: 11.95 kB / 0.529 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.007758, allocations: 16.78 kB / 0.529 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007761, allocations: 3.938 kB / 0.529 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007762, allocations: 0 / 0.529 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.007768, allocations: 7.984 kB / 0.529 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.037e-05/0.007858, allocations: 133.1 kB / 0.5291 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00786, allocations: 5.547 kB / 0.5291 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.00788, allocations: 12 kB / 0.5291 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.007881, allocations: 0 / 0.5291 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.007886, allocations: 4 kB / 0.5291 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007887, allocations: 1.281 kB / 0.5291 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007887, allocations: 0 / 0.5291 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.008006, allocations: 160.2 kB / 0.5293 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.008015, allocations: 11.91 kB / 0.5293 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008028, allocations: 12.64 kB / 0.5293 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.008042, allocations: 0 / 0.5293 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.008068, allocations: 16.77 kB / 0.5293 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.008073, allocations: 4 kB / 0.5293 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.008115, allocations: 146.3 kB / 0.5295 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008115, allocations: 1.875 kB / 0.5295 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001702/0.008285, allocations: 48 kB / 0.5295 GB, free: 9.332 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.799e-05/0.008373, allocations: 115 kB / 0.5296 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.008647, allocations: 409.3 kB / 0.53 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-06/0.008648, allocations: 0 / 0.53 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.008686, allocations: 46.59 kB / 0.5301 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.008847, allocations: 30.34 kB / 0.5301 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.009104, allocations: 230.9 kB / 0.5303 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.009137, allocations: 71.33 kB / 0.5304 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.009165, allocations: 9.672 kB / 0.5304 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.009295, allocations: 126.8 kB / 0.5305 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.009295, allocations: 0 / 0.5305 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of Templates: time 0.004301/0.0136, allocations: 3.342 MB / 0.5338 GB, free: 5.059 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5451169167645276]