Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001014/0.001014, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009534/0.0009534, allocations: 165 kB / 23.02 MB, free: 1.551 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.9612/0.9612, allocations: 177.1 MB / 203.4 MB, free: 5.645 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-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 0.8198/0.8198, allocations: 154.8 MB / 414.7 MB, free: 500 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 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.845e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001734/0.001753, allocations: 0.699 MB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002839, allocations: 0.8518 MB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.002876, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.002908, allocations: 4.719 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.002977, allocations: 8.438 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.671e-05/0.003044, allocations: 19.97 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.003118, allocations: 41.11 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.003213, allocations: 15.97 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.003289, allocations: 19.98 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.003328, allocations: 16.42 kB / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003344, allocations: 4.906 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003353, allocations: 4 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.003371, allocations: 7.984 kB / 0.5223 GB, free: 244 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.003395, allocations: 9.219 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.513e-05/0.00348, allocations: 35.83 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003482, allocations: 4 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003483, allocations: 0.5 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003487, allocations: 1.781 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003866/0.003873, allocations: 372.6 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.00391, allocations: 8.031 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.003943, allocations: 8.891 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.004031, allocations: 126.2 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004043, allocations: 4.375 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004055, allocations: 384 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.004204, allocations: 66.94 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.004213, allocations: 1.75 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004222, allocations: 384 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004229, allocations: 384 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.004268, allocations: 7.938 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.004571, allocations: 260.6 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.004647, allocations: 38.98 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.004682, allocations: 17.16 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.00469, allocations: 0 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.004714, allocations: 33.39 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004715, allocations: 1.344 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001625/0.004878, allocations: 57.64 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.004907, allocations: 59.34 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.00514, allocations: 165.9 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005152, allocations: 26.52 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.005205, allocations: 138.8 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005221, allocations: 11.05 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.005256, allocations: 19.38 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.005383, allocations: 496.1 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.005403, allocations: 0 / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.005421, allocations: 7.984 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.005459, allocations: 15.69 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00546, allocations: 4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.103e-05/0.005551, allocations: 49.58 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.005568, allocations: 12.5 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005572, allocations: 0 / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005585, allocations: 0.5625 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.005669, allocations: 12.69 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.005673, allocations: 0 / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.005708, allocations: 8.641 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005714, allocations: 1.469 kB / 0.5243 GB, free: 14 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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 7.135e-05/0.005785, allocations: 160.6 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.005809, allocations: 0 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.005836, allocations: 11.94 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.005838, allocations: 0.9375 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005843, allocations: 3.984 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005845, allocations: 2.906 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.005987, allocations: 120.6 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005989, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.006032, allocations: 8 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006033, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.006042, allocations: 4 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.006044, allocations: 3.938 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006046, allocations: 3.938 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.006172, allocations: 194.6 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.006182, allocations: 11.92 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.006193, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.006258, allocations: 7.938 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.006295, allocations: 7.922 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006299, allocations: 4 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.006345, allocations: 127.2 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006345, allocations: 0.6875 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002524/0.006598, allocations: 8 kB / 0.5249 GB, free: 13.28 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.577e-05/0.006673, allocations: 96.39 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.006762, allocations: 24.34 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.006763, allocations: 0 / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.006792, allocations: 17.8 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.007052, allocations: 8.547 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.007328, allocations: 132.6 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.007372, allocations: 59.34 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.007393, allocations: 0 / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.007421, allocations: 8.5 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.007422, allocations: 2.594 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002073/0.009494, allocations: 0.7504 MB / 0.526 GB, free: 12.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8643193868920207]