Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.0005986/0.0005986, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007122/0.0007122, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8515/0.8515, allocations: 177.1 MB / 203.5 MB, free: 5.734 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: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 0.6736/0.6736, allocations: 154.5 MB / 414.5 MB, free: 0.8438 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.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.337e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001202/0.001225, allocations: 0.7463 MB / 0.6201 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.001898, allocations: 0.851 MB / 0.6209 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.001929, allocations: 4 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.001953, allocations: 7.922 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.002008, allocations: 7.875 kB / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.002118, allocations: 35.83 kB / 0.621 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.002189, allocations: 71.83 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.002271, allocations: 19.98 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.00234, allocations: 43.89 kB / 0.6211 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.002383, allocations: 27.91 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002404, allocations: 4 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002412, allocations: 8 kB / 0.6211 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.002431, allocations: 23.91 kB / 0.6211 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.002451, allocations: 15.98 kB / 0.6212 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.002542, allocations: 79.73 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002545, allocations: 3.984 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002545, allocations: 0 / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.002548, allocations: 0 / 0.6212 GB, free: 11.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003293/0.002877, allocations: 302.1 kB / 0.6215 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.002905, allocations: 9.469 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.002929, allocations: 12.83 kB / 0.6215 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.003009, allocations: 124.6 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.003019, allocations: 384 / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.00303, allocations: 8.375 kB / 0.6217 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.003192, allocations: 78.2 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003199, allocations: 192 / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.003211, allocations: 8.375 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.003216, allocations: 4.375 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.003424, allocations: 67.81 kB / 0.6218 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.003934, allocations: 252.4 kB / 0.6221 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.004189, allocations: 82.53 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.004257, allocations: 40.92 kB / 0.6222 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.004274, allocations: 15.98 kB / 0.6222 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004293, allocations: 34.5 kB / 0.6222 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.004294, allocations: 0 / 0.6222 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002593/0.004554, allocations: 137.5 kB / 0.6224 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.004578, allocations: 51.41 kB / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.004646, allocations: 117.8 kB / 0.6225 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.004658, allocations: 29.7 kB / 0.6226 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.004694, allocations: 96.08 kB / 0.6226 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.004712, allocations: 15.84 kB / 0.6227 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.004743, allocations: 29.7 kB / 0.6227 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.004818, allocations: 318.8 kB / 0.623 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.004875, allocations: 31.97 kB / 0.623 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.004944, allocations: 35.91 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.005055, allocations: 69.19 kB / 0.6231 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.005057, allocations: 0 / 0.6231 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00014/0.005197, allocations: 109.5 kB / 0.6232 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005206, allocations: 8 kB / 0.6232 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.00521, allocations: 0 / 0.6232 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.00522, allocations: 0 / 0.6232 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.00529, allocations: 15.98 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005293, allocations: 0 / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.005329, allocations: 15.92 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005333, allocations: 0 / 0.6233 GB, free: 8.82 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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 4.976e-05/0.005383, allocations: 114.8 kB / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.005401, allocations: 23.86 kB / 0.6234 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.005418, allocations: 8.438 kB / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.005419, allocations: 0 / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005423, allocations: 4 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005425, allocations: 0 / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.005557, allocations: 125.3 kB / 0.6235 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.005557, allocations: 0 / 0.6235 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.005599, allocations: 15.98 kB / 0.6235 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005601, allocations: 3.938 kB / 0.6236 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.005608, allocations: 8 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005608, allocations: 7.938 kB / 0.6236 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005609, allocations: 0 / 0.6236 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.005772, allocations: 203.4 kB / 0.6238 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.00578, allocations: 3.953 kB / 0.6238 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.005792, allocations: 12.06 kB / 0.6238 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.005841, allocations: 11.98 kB / 0.6238 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.005879, allocations: 7.984 kB / 0.6238 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.005882, allocations: 4 kB / 0.6238 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.005917, allocations: 97.45 kB / 0.6239 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005917, allocations: 4 kB / 0.6239 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001366/0.006053, allocations: 12 kB / 0.6239 GB, free: 8.109 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 5.934e-05/0.006113, allocations: 99.12 kB / 0.624 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.006259, allocations: 75.88 kB / 0.6241 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00626, allocations: 0 / 0.6241 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.006324, allocations: 35.97 kB / 0.6241 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.006497, allocations: 12 kB / 0.6241 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.006762, allocations: 186.5 kB / 0.6243 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.006865, allocations: 75.33 kB / 0.6244 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.006902, allocations: 16.5 kB / 0.6244 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/0.006902, allocations: 0 / 0.6244 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of Templates: time 0.001419/0.008321, allocations: 1.082 MB / 0.6254 GB, free: 6.48 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.912458651699126] Failed to read output from testmodel.py, exit status != 0: 0.01225233543664217 0.01977442499999994 0.015587674999999938 Calling exit ...