Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009327/0.0009327, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001174/0.001174, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.9001/0.9001, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7558/0.7558, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 75.88 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5142, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001522/0.5158, allocations: 0.7887 MB / 0.7202 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.5169, allocations: 1.315 MB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.517, allocations: 1.188 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.517, allocations: 13.19 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.5171, allocations: 18.06 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.5177, allocations: 326 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.518, allocations: 296.3 kB / 0.7221 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5181, allocations: 32.97 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.5183, allocations: 169.7 kB / 0.7223 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.5184, allocations: 93.56 kB / 0.7224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.5185, allocations: 29.44 kB / 0.7224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.5185, allocations: 43.55 kB / 0.7225 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.5186, allocations: 25.91 kB / 0.7225 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.5187, allocations: 94.62 kB / 0.7226 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.519, allocations: 314.8 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.519, allocations: 0.7031 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.519, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.519, allocations: 4.969 kB / 0.7229 GB, free: 21.41 MB / 0.6355 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.0004955/0.5195, allocations: 469.1 kB / 0.7233 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5195, allocations: 9.781 kB / 0.7234 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.5196, allocations: 17.77 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.5197, allocations: 137.7 kB / 0.7235 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.5197, allocations: 18.11 kB / 0.7235 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.5197, allocations: 19.06 kB / 0.7235 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5199, allocations: 86.33 kB / 0.7236 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5199, allocations: 0 / 0.7236 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5199, allocations: 5.156 kB / 0.7236 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5199, allocations: 2.375 kB / 0.7236 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.52, allocations: 56.42 kB / 0.7237 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.5204, allocations: 372.1 kB / 0.724 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.5206, allocations: 67.38 kB / 0.7241 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.5207, allocations: 30.38 kB / 0.7241 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.5207, allocations: 1.797 kB / 0.7241 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.5208, allocations: 125.5 kB / 0.7243 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.5209, allocations: 0 / 0.7243 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000295/0.5211, allocations: 168.6 kB / 0.7244 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.5212, allocations: 59.7 kB / 0.7245 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.5213, allocations: 159.1 kB / 0.7246 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5213, allocations: 31.39 kB / 0.7247 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.5213, allocations: 117.8 kB / 0.7248 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.5213, allocations: 34.28 kB / 0.7248 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.5214, allocations: 77.06 kB / 0.7249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.5215, allocations: 321.3 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5217, allocations: 190.1 kB / 0.7254 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5218, allocations: 235.8 kB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.522, allocations: 251.7 kB / 0.7258 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.522, allocations: 0 / 0.7258 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000507/0.5226, allocations: 495.2 kB / 0.7263 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.5226, allocations: 98.83 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5226, allocations: 6.188 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5226, allocations: 6.25 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.5227, allocations: 11.09 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5227, allocations: 3.125 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.523, allocations: 87.33 kB / 0.7265 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.523, allocations: 18.77 kB / 0.7265 GB, free: 18.6 MB / 0.6355 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.803e-05/0.5231, allocations: 145.7 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.5231, allocations: 18.28 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.5232, allocations: 11.62 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5232, allocations: 1.312 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5232, allocations: 1.312 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.5232, allocations: 7.516 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.5232, allocations: 5.891 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.5232, allocations: 1.891 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.5233, allocations: 18.06 kB / 0.7267 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001665/0.5234, allocations: 209.7 kB / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001708/0.5236, allocations: 309.1 kB / 0.7272 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.801e-05/0.5237, allocations: 32.58 kB / 0.7272 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.5237, allocations: 108 kB / 0.7273 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of Backend: time 4.41e-07/0.5237, allocations: 0 / 0.7273 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.5243, allocations: 478.8 kB / 0.7278 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004899/0.5248, allocations: 0.6826 MB / 0.7285 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.005923/0.5307, allocations: 3.259 MB / 0.7317 GB, free: 16.51 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.286149107152596] Failed to read output from testmodel.py, exit status != 0: 0.5371087880339473 0.545992631 0.025082855 Calling exit ...