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.001439/0.001439, allocations: 75.56 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001558/0.001558, allocations: 168.6 kB / 22.44 MB, free: 5.316 MB / 14.72 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.407/1.407, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 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-531:190: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:198: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.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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: 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.002096/0.002096, allocations: 66.94 kB / 0.6192 GB, free: 4.09 MB / 0.5294 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.5302/0.5323, allocations: 102 MB / 0.7188 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001763/0.5341, allocations: 0.7761 MB / 0.7195 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.5353, allocations: 1.174 MB / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.5353, allocations: 1.219 kB / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.5353, allocations: 8.953 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.5354, allocations: 15.52 kB / 0.7207 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.5359, allocations: 136.8 kB / 0.7208 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.536, allocations: 122.3 kB / 0.721 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.5361, allocations: 20.03 kB / 0.721 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.5362, allocations: 71.39 kB / 0.7211 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.5363, allocations: 44.22 kB / 0.7211 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.5364, allocations: 11.03 kB / 0.7211 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.5364, allocations: 31.91 kB / 0.7211 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.5364, allocations: 9.016 kB / 0.7211 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.5365, allocations: 43.39 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.5367, allocations: 146.7 kB / 0.7213 GB, free: 132 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5367, allocations: 0 / 0.7213 GB, free: 132 kB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5367, allocations: 4 kB / 0.7213 GB, free: 128 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5367, allocations: 0 / 0.7213 GB, free: 128 kB / 0.6075 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.0006249/0.5373, allocations: 352 kB / 0.7217 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.5374, allocations: 9.531 kB / 0.7217 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.5374, allocations: 9.828 kB / 0.7217 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.5375, allocations: 117 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5375, allocations: 7.516 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.5376, allocations: 10.5 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.5378, allocations: 84.59 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5378, allocations: 0.8906 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5378, allocations: 3.938 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5379, allocations: 1.25 kB / 0.7219 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.5382, allocations: 70.53 kB / 0.722 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.5386, allocations: 249.2 kB / 0.7222 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.5388, allocations: 66.27 kB / 0.7223 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.539, allocations: 39.2 kB / 0.7223 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.539, allocations: 1.125 kB / 0.7223 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.5393, allocations: 96.19 kB / 0.7224 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5393, allocations: 0 / 0.7224 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6): time 0.0006229/0.5399, allocations: 169 kB / 0.7226 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.5399, allocations: 56.44 kB / 0.7226 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.54, allocations: 123.4 kB / 0.7227 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5401, allocations: 31.58 kB / 0.7228 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5401, allocations: 94.27 kB / 0.7228 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.5402, allocations: 18.75 kB / 0.7229 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.5403, allocations: 36.44 kB / 0.7229 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5404, allocations: 320.1 kB / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.5406, allocations: 93.59 kB / 0.7233 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.5409, allocations: 110.6 kB / 0.7234 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.5413, allocations: 144.8 kB / 0.7235 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5413, allocations: 3.938 kB / 0.7235 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005684/0.5418, allocations: 247.8 kB / 0.7238 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.5419, allocations: 39.14 kB / 0.7238 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5419, allocations: 5.672 kB / 0.7238 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5419, allocations: 0 / 0.7238 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.542, allocations: 17.7 kB / 0.7238 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.542, allocations: 6.047 kB / 0.7238 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.5423, allocations: 34.86 kB / 0.7239 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5423, allocations: 6.109 kB / 0.7239 GB, free: 14.15 MB / 0.6231 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.000109/0.5424, allocations: 126.3 kB / 0.724 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.5424, allocations: 16.08 kB / 0.724 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.5424, allocations: 10.92 kB / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5424, allocations: 0 / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5424, allocations: 1.312 kB / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5425, allocations: 0.6562 kB / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.5426, allocations: 126.8 kB / 0.7242 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5426, allocations: 4.547 kB / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.5427, allocations: 16.81 kB / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5427, allocations: 0 / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5427, allocations: 6.125 kB / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5427, allocations: 4 kB / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5427, allocations: 1.625 kB / 0.7242 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.5431, allocations: 148.8 kB / 0.7243 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.5431, allocations: 11.05 kB / 0.7243 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5432, allocations: 1.672 kB / 0.7243 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5433, allocations: 16.11 kB / 0.7244 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5433, allocations: 13.98 kB / 0.7244 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5433, allocations: 6.609 kB / 0.7244 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.854e-05/0.5434, allocations: 94.61 kB / 0.7245 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5434, allocations: 0 / 0.7245 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002431/0.5436, allocations: 28.12 kB / 0.7245 GB, free: 13.66 MB / 0.6231 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.0001671/0.5438, allocations: 96.97 kB / 0.7246 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.5444, allocations: 209.8 kB / 0.7248 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5444, allocations: 0.5312 kB / 0.7248 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5446, allocations: 44.89 kB / 0.7248 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.5448, allocations: 16.62 kB / 0.7248 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.5452, allocations: 164.9 kB / 0.725 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.143e-05/0.5453, allocations: 76.42 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.5454, allocations: 4.422 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.5454, allocations: 11.91 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.5454, allocations: 0.5 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.005081/0.5505, allocations: 1.735 MB / 0.7268 GB, free: 13.02 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.1140372678637505] Failed to read output from testmodel.py, exit status != 0: 0.5586814135313034 0.573774466 0.034059443 Calling exit ...