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.001497/0.001497, allocations: 93.06 kB / 19.65 MB, free: 280 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.001791/0.001791, allocations: 173 kB / 23.02 MB, free: 1.551 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.9389/0.9389, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7329/0.7329, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.945e-06/2.945e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.866e-05, allocations: 3.969 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001508/0.001536, allocations: 0.8064 MB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.00282, allocations: 1.341 MB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.002877, allocations: 4 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.002916, allocations: 13.05 kB / 0.5224 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.003011, allocations: 19.92 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.003661, allocations: 318.8 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.003942, allocations: 295.4 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004047, allocations: 29.61 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.004218, allocations: 167.7 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004346, allocations: 83.78 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.004385, allocations: 28.53 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.004456, allocations: 32.5 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.004483, allocations: 24.47 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.004564, allocations: 87.86 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.004806, allocations: 224.3 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004809, allocations: 0 / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.00481, allocations: 0 / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.004816, allocations: 5.469 kB / 0.5237 GB, free: 14.72 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.0005214/0.005337, allocations: 0.5479 MB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.005377, allocations: 12.03 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.005448, allocations: 29.34 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005638, allocations: 165.9 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.005664, allocations: 20.83 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.005692, allocations: 21.09 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.005826, allocations: 88.88 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.005835, allocations: 5.828 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005848, allocations: 8 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.005856, allocations: 3.984 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.005906, allocations: 23.98 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.006359, allocations: 435.8 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.006527, allocations: 63.91 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.006561, allocations: 27.72 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.00657, allocations: 5.438 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.006693, allocations: 104.9 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.006695, allocations: 0 / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002524/0.006947, allocations: 156.7 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.006984, allocations: 56.19 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.0071, allocations: 211.7 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.007129, allocations: 39.77 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.007195, allocations: 155.2 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.007217, allocations: 27.8 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.00731, allocations: 87.31 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.007424, allocations: 0.4962 MB / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.007582, allocations: 167.8 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.00776, allocations: 246.3 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.007953, allocations: 244.6 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.007957, allocations: 9.594 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004325/0.008389, allocations: 473.7 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.008446, allocations: 109 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.008453, allocations: 0.9375 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.00847, allocations: 4 kB / 0.5276 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.008516, allocations: 11.94 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.008524, allocations: 4.797 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.008735, allocations: 69.19 kB / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.008763, allocations: 22.8 kB / 0.5277 GB, free: 10.27 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 9.975e-05/0.008863, allocations: 180.5 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.008879, allocations: 11.95 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.008905, allocations: 16.72 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008907, allocations: 4 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.008911, allocations: 0 / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.008916, allocations: 7.109 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.009038, allocations: 156.5 kB / 0.5281 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.00904, allocations: 0 / 0.5281 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.00907, allocations: 15.98 kB / 0.5281 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.009075, allocations: 4 kB / 0.5281 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.009085, allocations: 0 / 0.5281 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.009087, allocations: 3.938 kB / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.00909, allocations: 3.984 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.009262, allocations: 160.3 kB / 0.5282 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.009275, allocations: 13.72 kB / 0.5282 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.00929, allocations: 8 kB / 0.5283 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.824e-05/0.009308, allocations: 7.922 kB / 0.5283 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.009352, allocations: 11.98 kB / 0.5283 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.009361, allocations: 4.625 kB / 0.5283 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.009424, allocations: 154.7 kB / 0.5284 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009424, allocations: 2.219 kB / 0.5284 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001958/0.00962, allocations: 48 kB / 0.5285 GB, free: 9.414 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 0.0001332/0.009753, allocations: 99.19 kB / 0.5286 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.0101, allocations: 429.5 kB / 0.529 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0101, allocations: 0.5312 kB / 0.529 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/0.01015, allocations: 56.34 kB / 0.529 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01034, allocations: 29.05 kB / 0.5291 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.01069, allocations: 238.9 kB / 0.5293 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.01073, allocations: 68.53 kB / 0.5294 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.01076, allocations: 12.97 kB / 0.5294 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.01079, allocations: 17.59 kB / 0.5294 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.01079, allocations: 0 / 0.5294 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of Templates: time 0.004962/0.01575, allocations: 3.299 MB / 0.5326 GB, free: 5.266 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.57586636999622]