Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001323/0.001323, allocations: 88.72 kB / 19.44 MB, free: 352 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.001553/0.001553, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.227/1.227, allocations: 154.8 MB / 414.3 MB, free: 460 kB / 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 178] 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0.5469 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.117e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002072/0.002103, allocations: 0.7618 MB / 0.5207 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.003959, allocations: 1.171 MB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.004015, allocations: 0 / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.004048, allocations: 5.219 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.004141, allocations: 19.86 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.004652, allocations: 128.8 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.004883, allocations: 135.7 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.004972, allocations: 12.48 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.00515, allocations: 68.94 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.005259, allocations: 47.84 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.00529, allocations: 8 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.005358, allocations: 25.11 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.005383, allocations: 11.92 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.005462, allocations: 43.91 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.005711, allocations: 128.2 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005713, allocations: 1.75 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005714, allocations: 3.938 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.005718, allocations: 0 / 0.5224 GB, free: 15.68 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.0007436/0.006462, allocations: 353.5 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.006511, allocations: 8.031 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.006584, allocations: 16.88 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.006715, allocations: 121.7 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.006733, allocations: 8.375 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.006762, allocations: 10.03 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.007045, allocations: 74.2 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007054, allocations: 192 / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.007069, allocations: 5.125 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.007076, allocations: 4.375 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.007407, allocations: 70.61 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.00791, allocations: 256.3 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.008134, allocations: 63.88 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.008304, allocations: 40.91 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.008325, allocations: 2.656 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.008663, allocations: 99.23 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.008665, allocations: 0 / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006859/0.009351, allocations: 167 kB / 0.5237 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.009416, allocations: 57 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.009544, allocations: 121.3 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.00958, allocations: 29.7 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.009664, allocations: 92.12 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.009694, allocations: 20.91 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.009777, allocations: 29.7 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.009976, allocations: 322.8 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.01025, allocations: 92.89 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.01054, allocations: 116.2 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.01095, allocations: 139 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01095, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000669/0.01162, allocations: 258.4 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.01168, allocations: 37.69 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01168, allocations: 0 / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.0117, allocations: 4.438 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01185, allocations: 22.11 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.01185, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.0121, allocations: 47.83 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.01213, allocations: 10.44 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001244/0.01225, allocations: 117.8 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.01229, allocations: 7.938 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01233, allocations: 16.42 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01233, allocations: 0 / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.01234, allocations: 0 / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.01235, allocations: 6.047 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.0125, allocations: 125.2 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.0125, allocations: 320 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.01262, allocations: 23.91 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.01263, allocations: 4 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01264, allocations: 4.969 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.01264, allocations: 0 / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01264, allocations: 0.9375 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.0131, allocations: 149.9 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.01311, allocations: 10.39 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01314, allocations: 3.938 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01324, allocations: 15.97 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.01329, allocations: 4 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01331, allocations: 7.984 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.01339, allocations: 94.05 kB / 0.5256 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0 / 0.5256 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002356/0.01362, allocations: 20 kB / 0.5256 GB, free: 12.17 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001841/0.01381, allocations: 103.2 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.01438, allocations: 202.6 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01438, allocations: 4 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.01457, allocations: 45.17 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01482, allocations: 16.67 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01531, allocations: 173.1 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.206e-05/0.01539, allocations: 72.8 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.01543, allocations: 4.562 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.01547, allocations: 13.06 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01547, allocations: 4.875 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.005076/0.02054, allocations: 1.719 MB / 0.5279 GB, free: 9.867 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.835260909050703]