Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007613/0.0007613, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001777, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001079/0.001079, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002566, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.06/1.06, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09503/1.155, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2864/1.052, allocations: 49.14 MB / 448.6 MB, free: 5.926 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.443e-05, allocations: 2.312 kB / 450 MB, free: 4.551 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002191/0.002216, allocations: 0.7453 MB / 450.8 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003355, allocations: 0.9267 MB / 451.7 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.003386, allocations: 1.281 kB / 451.7 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.003414, allocations: 3.938 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.003461, allocations: 6.406 kB / 451.7 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.003582, allocations: 20.39 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003686, allocations: 49.31 kB / 451.8 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003795, allocations: 12.52 kB / 451.8 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.003913, allocations: 30.38 kB / 451.8 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.003976, allocations: 21.5 kB / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.004004, allocations: 4.594 kB / 451.8 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.004017, allocations: 5.844 kB / 451.8 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.00404, allocations: 6.406 kB / 451.8 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.004063, allocations: 5.641 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.004164, allocations: 18.61 kB / 451.9 MB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.004177, allocations: 4 kB / 451.9 MB, free: 2.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004178, allocations: 1.625 kB / 451.9 MB, free: 2.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.004189, allocations: 0 / 451.9 MB, free: 2.746 MB / 426.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.0004071/0.004596, allocations: 258.6 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004631, allocations: 11.97 kB / 452.1 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.004665, allocations: 7.922 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.00477, allocations: 113.8 kB / 452.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.00478, allocations: 384 / 452.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.004792, allocations: 8.359 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.004941, allocations: 62.94 kB / 452.3 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.004949, allocations: 0.9531 kB / 452.3 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004957, allocations: 1.094 kB / 452.3 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.004963, allocations: 4.375 kB / 452.3 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.004989, allocations: 9.812 kB / 452.3 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.00523, allocations: 156.2 kB / 452.5 MB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.005296, allocations: 23.66 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.005313, allocations: 4.859 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.005335, allocations: 9.266 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.005359, allocations: 31.62 kB / 452.6 MB, free: 1.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005361, allocations: 0 / 452.6 MB, free: 1.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001401/0.005501, allocations: 50.45 kB / 452.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.005532, allocations: 52.03 kB / 452.7 MB, free: 1.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.005609, allocations: 114.8 kB / 452.8 MB, free: 1.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.00562, allocations: 27.61 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.005667, allocations: 92.06 kB / 452.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.00569, allocations: 10.47 kB / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.005726, allocations: 13.72 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.005828, allocations: 318.8 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.005844, allocations: 0 / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.005859, allocations: 4 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.005903, allocations: 21.81 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005905, allocations: 3.938 kB / 453.3 MB, free: 1.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.991e-05/0.005985, allocations: 43.81 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.006001, allocations: 4 kB / 453.3 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006005, allocations: 0 / 453.3 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.00602, allocations: 5.406 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.006125, allocations: 11.98 kB / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006127, allocations: 0 / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.006158, allocations: 4.906 kB / 453.3 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.006165, allocations: 4.984 kB / 453.3 MB, free: 1.152 MB / 426.7 MB 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 5.894e-05/0.006224, allocations: 106.6 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.006251, allocations: 7.984 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.006283, allocations: 8.625 kB / 453.4 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.006287, allocations: 5.25 kB / 453.5 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006288, allocations: 0 / 453.5 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006291, allocations: 0 / 453.5 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.00641, allocations: 69.89 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.006413, allocations: 5.703 kB / 453.5 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.006465, allocations: 13.77 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.006477, allocations: 11.94 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006479, allocations: 0 / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.006485, allocations: 1.062 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.006487, allocations: 0 / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.006494, allocations: 3.938 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.006622, allocations: 140.6 kB / 453.7 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006634, allocations: 0.6562 kB / 453.7 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.006708, allocations: 9.422 kB / 453.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.006743, allocations: 4 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.00675, allocations: 5.203 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.006772, allocations: 17.14 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006772, allocations: 4.781 kB / 453.7 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.006964, allocations: 9.203 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB 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 9.975e-05/0.007063, allocations: 83.3 kB / 453.8 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.007139, allocations: 16.84 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.007147, allocations: 0.8438 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.007179, allocations: 14.06 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.00742, allocations: 71.56 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.007872, allocations: 137.4 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.007914, allocations: 60.27 kB / 454.1 MB, free: 268 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.85e-05/0.007943, allocations: 5.5 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.008008, allocations: 51.38 kB / 454.2 MB, free: 212 kB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008009, allocations: 0.625 kB / 454.2 MB, free: 212 kB / 426.7 MB Notification: Performance of Templates: time 0.002618/0.01063, allocations: 0.7512 MB / 454.9 MB, free: 15.5 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6757668340578675]