Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007848/0.0007848, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0007889/0.0007889, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8509/0.8509, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-531:686: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-531:694: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.6983/0.6983, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.21e-07/8.21e-07, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.858e-06/1.068e-05, allocations: 8.812 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001022/0.001032, allocations: 0.7573 MB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.001938, allocations: 1.174 MB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.001965, allocations: 4 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.00198, allocations: 7.875 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.002015, allocations: 15.86 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.002282, allocations: 150 kB / 0.6215 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.002386, allocations: 123.8 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.002431, allocations: 11.98 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.002499, allocations: 71.88 kB / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.002554, allocations: 39.92 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002569, allocations: 16 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.4e-05/0.002603, allocations: 20 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.002619, allocations: 15.92 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.002655, allocations: 35.91 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.002774, allocations: 139.7 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.002775, allocations: 3.938 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002776, allocations: 0 / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.435e-06/0.002778, allocations: 3.938 kB / 0.6219 GB, free: 10.52 MB / 0.5886 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.0003215/0.003099, allocations: 351.7 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.077e-05/0.00312, allocations: 12.03 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.003147, allocations: 8.891 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.918e-05/0.003196, allocations: 113.7 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.003203, allocations: 4.375 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.003218, allocations: 16.36 kB / 0.6224 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.003337, allocations: 78.19 kB / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-06/0.00334, allocations: 192 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.003345, allocations: 384 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-06/0.003347, allocations: 384 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.003483, allocations: 79.86 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.003708, allocations: 256.3 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.003794, allocations: 50.55 kB / 0.6228 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.003866, allocations: 48.91 kB / 0.6229 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.003878, allocations: 7.984 kB / 0.6229 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.004021, allocations: 95.28 kB / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.004021, allocations: 0 / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002937/0.004315, allocations: 173.7 kB / 0.6232 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.004335, allocations: 51.41 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.004393, allocations: 126.1 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.004408, allocations: 29.7 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.004444, allocations: 92.14 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.004455, allocations: 11.97 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.004499, allocations: 41.69 kB / 0.6235 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.004559, allocations: 310.8 kB / 0.6238 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.004678, allocations: 93.7 kB / 0.6239 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.004801, allocations: 116.2 kB / 0.624 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.004976, allocations: 144.1 kB / 0.6241 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004977, allocations: 4 kB / 0.6241 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002777/0.005255, allocations: 248.8 kB / 0.6244 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.005276, allocations: 35.42 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.005278, allocations: 0 / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.005284, allocations: 7.938 kB / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.005343, allocations: 15.97 kB / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005346, allocations: 4 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.005448, allocations: 51.84 kB / 0.6245 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.00546, allocations: 8 kB / 0.6245 GB, free: 7.645 MB / 0.5886 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 5.288e-05/0.005513, allocations: 118.9 kB / 0.6246 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.005521, allocations: 11.88 kB / 0.6246 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.005537, allocations: 8.438 kB / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.005538, allocations: 4 kB / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.00554, allocations: 0 / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005542, allocations: 0 / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.841e-05/0.005611, allocations: 129.2 kB / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005611, allocations: 0 / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.00565, allocations: 15.98 kB / 0.6248 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005651, allocations: 0 / 0.6248 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.005656, allocations: 3.938 kB / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005657, allocations: 0 / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-07/0.005657, allocations: 0 / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.00584, allocations: 153 kB / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.005848, allocations: 11.94 kB / 0.6249 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.005857, allocations: 3.938 kB / 0.6249 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.00589, allocations: 11.98 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.005912, allocations: 7.984 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.005917, allocations: 4.125 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.005954, allocations: 98.39 kB / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005954, allocations: 0 / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001278/0.006082, allocations: 20 kB / 0.6251 GB, free: 6.996 MB / 0.5886 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 7.839e-05/0.00616, allocations: 115.2 kB / 0.6252 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.006401, allocations: 200.9 kB / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006403, allocations: 0 / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.006485, allocations: 43.97 kB / 0.6254 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.006601, allocations: 16.11 kB / 0.6254 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.006802, allocations: 198.3 kB / 0.6256 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.006836, allocations: 75.27 kB / 0.6257 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.006857, allocations: 16.44 kB / 0.6257 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/0.006858, allocations: 0 / 0.6257 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of Templates: time 0.001749/0.008607, allocations: 1.34 MB / 0.627 GB, free: 4.945 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.77897740714252] Failed to read output from testmodel.py, exit status != 0: 0.012652077712118626 0.020281228000000002 0.015842363 Calling exit ...