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.001288/0.001288, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001622/0.001622, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.197/1.197, allocations: 154.6 MB / 413.7 MB, free: 5.273 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.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 3.466e-06/3.466e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.775e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001906/0.001944, allocations: 0.6864 MB / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003295, allocations: 0.8938 MB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.003338, allocations: 0 / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.003376, allocations: 3.938 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.003447, allocations: 3.938 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.003641, allocations: 19.92 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003754, allocations: 51.83 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.003878, allocations: 8 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.003973, allocations: 19.98 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.004033, allocations: 19.97 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004068, allocations: 4 kB / 0.6202 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.004081, allocations: 8 kB / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.004102, allocations: 7.938 kB / 0.6203 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.004137, allocations: 11.98 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.004249, allocations: 47.8 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004252, allocations: 0 / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004253, allocations: 0 / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.004263, allocations: 0 / 0.6203 GB, free: 2.797 MB / 0.5294 GB 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.000584/0.004847, allocations: 286.2 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.00489, allocations: 9.469 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.004933, allocations: 20.89 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005068, allocations: 113.7 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.005077, allocations: 384 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.005097, allocations: 8.359 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.00536, allocations: 66.22 kB / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00537, allocations: 192 / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.00538, allocations: 384 / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005387, allocations: 4.359 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.005687, allocations: 67.88 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.006041, allocations: 216.5 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.006253, allocations: 50.55 kB / 0.6211 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.006408, allocations: 40.91 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.006426, allocations: 0 / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.006452, allocations: 38.56 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.006453, allocations: 0 / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005869/0.00704, allocations: 137.4 kB / 0.6213 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.007082, allocations: 55.41 kB / 0.6214 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.007181, allocations: 109.8 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.0072, allocations: 29.7 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.007257, allocations: 88.14 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.007281, allocations: 15.83 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.007321, allocations: 17.72 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.007472, allocations: 314.8 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.007621, allocations: 27.97 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.007762, allocations: 35.95 kB / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.008042, allocations: 68.8 kB / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008044, allocations: 0 / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.008385, allocations: 101.5 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.008402, allocations: 7.938 kB / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008407, allocations: 0 / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.008427, allocations: 4 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.008561, allocations: 19.98 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.008565, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.008644, allocations: 11.98 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.008653, allocations: 0 / 0.6222 GB, free: 0.6953 MB / 0.5294 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 9.87e-05/0.008752, allocations: 114.8 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.008777, allocations: 3.953 kB / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.008817, allocations: 11.94 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.008821, allocations: 8 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.008826, allocations: 0 / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008829, allocations: 336 / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.008968, allocations: 109.3 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008969, allocations: 0 / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.009062, allocations: 11.98 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009064, allocations: 0 / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.009077, allocations: 8 kB / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.009083, allocations: 7.922 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.009088, allocations: 7.922 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.009475, allocations: 195.4 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.009487, allocations: 7.938 kB / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.009502, allocations: 0 / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.00961, allocations: 15.92 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.009658, allocations: 7.984 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.009662, allocations: 0 / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.009718, allocations: 91.27 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009718, allocations: 4 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002128/0.009931, allocations: 11.94 kB / 0.6228 GB, free: 24 kB / 0.5294 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 0.000139/0.01007, allocations: 95.19 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.01042, allocations: 67.86 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01042, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.0106, allocations: 43.95 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01093, allocations: 6.344 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.01126, allocations: 120.7 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.01134, allocations: 67.33 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.01137, allocations: 4 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.01141, allocations: 12.5 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01141, allocations: 0 / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of Templates: time 0.003457/0.01487, allocations: 0.7817 MB / 0.624 GB, free: 14.8 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.649239979684353] Failed to read output from testmodel.py, exit status != 0: 0.023942049592733383 0.038699997 0.031399494 Calling exit ...