Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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: 75.72 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.001452/0.001452, allocations: 168.8 kB / 22.44 MB, free: 5.309 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.399/1.399, allocations: 177.2 MB / 202.8 MB, free: 9.215 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.156/1.156, allocations: 155 MB / 414.2 MB, free: 4.938 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [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.002009/0.002009, allocations: 69.64 kB / 0.6192 GB, free: 4.062 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.556/0.558, allocations: 102 MB / 0.7188 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.002024/0.56, allocations: 0.8367 MB / 0.7196 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.5612, allocations: 0.9135 MB / 0.7205 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.5613, allocations: 5.25 kB / 0.7205 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.5613, allocations: 14.92 kB / 0.7205 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.5614, allocations: 9.281 kB / 0.7205 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.5616, allocations: 72.31 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.5619, allocations: 140.7 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.5621, allocations: 45.77 kB / 0.7208 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.5622, allocations: 78.27 kB / 0.7209 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.5623, allocations: 54.39 kB / 0.7209 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.5623, allocations: 13.56 kB / 0.7209 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.5623, allocations: 12.5 kB / 0.7209 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.5624, allocations: 30.77 kB / 0.721 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.5624, allocations: 57.28 kB / 0.721 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.5627, allocations: 157.8 kB / 0.7212 GB, free: 200 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5627, allocations: 4 kB / 0.7212 GB, free: 196 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5627, allocations: 0.6562 kB / 0.7212 GB, free: 196 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.5627, allocations: 1.375 kB / 0.7212 GB, free: 196 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000717/0.5634, allocations: 366.3 kB / 0.7215 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5634, allocations: 9.938 kB / 0.7215 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.5635, allocations: 16.56 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.5638, allocations: 161.2 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5638, allocations: 14.06 kB / 0.7217 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.5639, allocations: 13 kB / 0.7217 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.5643, allocations: 227.8 kB / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5643, allocations: 192 / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.5643, allocations: 14.16 kB / 0.722 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5643, allocations: 2.25 kB / 0.722 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.5646, allocations: 125.4 kB / 0.7221 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.5654, allocations: 384.1 kB / 0.7225 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.5656, allocations: 77.61 kB / 0.7225 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.5657, allocations: 43.67 kB / 0.7226 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.5658, allocations: 11.77 kB / 0.7226 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5658, allocations: 32.64 kB / 0.7226 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.5658, allocations: 0 / 0.7226 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0005552/0.5663, allocations: 159 kB / 0.7228 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5664, allocations: 54.05 kB / 0.7228 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.5665, allocations: 150.1 kB / 0.723 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5666, allocations: 26.77 kB / 0.723 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.5667, allocations: 125.4 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.5667, allocations: 34.47 kB / 0.7231 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.5667, allocations: 28.34 kB / 0.7232 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5669, allocations: 320.6 kB / 0.7235 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.567, allocations: 49.22 kB / 0.7235 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.5672, allocations: 38.05 kB / 0.7236 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.5674, allocations: 93.09 kB / 0.7236 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5674, allocations: 0 / 0.7236 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003302/0.5677, allocations: 147.6 kB / 0.7238 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5678, allocations: 4.562 kB / 0.7238 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5678, allocations: 5.125 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5678, allocations: 0 / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5679, allocations: 29.34 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5679, allocations: 1.094 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.568, allocations: 15.7 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5681, allocations: 2.281 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001128/0.5682, allocations: 125.2 kB / 0.724 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.5682, allocations: 18.02 kB / 0.724 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.5686, allocations: 142 kB / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.5686, allocations: 1.625 kB / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5686, allocations: 0 / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5686, allocations: 1.641 kB / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.5693, allocations: 381.6 kB / 0.7245 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5693, allocations: 1.719 kB / 0.7245 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5694, allocations: 21.02 kB / 0.7245 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5694, allocations: 5.594 kB / 0.7245 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.5694, allocations: 6.219 kB / 0.7245 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.5694, allocations: 2.266 kB / 0.7245 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5694, allocations: 1.031 kB / 0.7245 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.5699, allocations: 238 kB / 0.7247 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.57, allocations: 21.23 kB / 0.7248 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.57, allocations: 2.297 kB / 0.7248 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.5701, allocations: 21.73 kB / 0.7248 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.5702, allocations: 7.734 kB / 0.7248 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.5702, allocations: 11.75 kB / 0.7248 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001707/0.5704, allocations: 108.7 kB / 0.7249 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5704, allocations: 0.5 kB / 0.7249 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002645/0.5706, allocations: 22.94 kB / 0.7249 GB, free: 13.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001346/0.5708, allocations: 102.8 kB / 0.725 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.5711, allocations: 99.66 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5711, allocations: 0.625 kB / 0.7251 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.5713, allocations: 45.47 kB / 0.7252 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5716, allocations: 11.61 kB / 0.7252 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.5721, allocations: 251.7 kB / 0.7254 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.5723, allocations: 102.3 kB / 0.7255 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.5723, allocations: 8.5 kB / 0.7255 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.5723, allocations: 19.31 kB / 0.7255 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.5723, allocations: 0 / 0.7255 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.003832/0.5762, allocations: 0.9861 MB / 0.7265 GB, free: 12.75 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.106913888826966] Failed to read output from testmodel.py, exit status != 0: 0.5849035382270813 0.599956033 0.034056438 Calling exit ...