Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0007495/0.0007495, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007803/0.0007803, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8363/0.8363, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6981/0.6981, allocations: 155 MB / 415 MB, free: 448 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.0008988/0.0008988, allocations: 73.55 kB / 0.6199 GB, free: 12.71 MB / 0.5886 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.3968/0.3977, allocations: 102 MB / 0.7195 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001273/0.399, allocations: 0.5781 MB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.371e-05/0.399, allocations: 4.453 kB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.3991, allocations: 1.094 kB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.3991, allocations: 0 / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.3991, allocations: 0 / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.265e-05/0.3991, allocations: 1.25 kB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.3992, allocations: 1.969 kB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.3993, allocations: 5.797 kB / 0.7201 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.3993, allocations: 6.281 kB / 0.7201 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.047e-05/0.3993, allocations: 3.984 kB / 0.7201 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3993, allocations: 0 / 0.7201 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-06/0.3993, allocations: 3.938 kB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3993, allocations: 1.594 kB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.3994, allocations: 0 / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.3994, allocations: 3.641 kB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3994, allocations: 0 / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3994, allocations: 0 / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3994, allocations: 0 / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002184/0.3997, allocations: 249.2 kB / 0.7204 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3997, allocations: 10.44 kB / 0.7204 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.3997, allocations: 2.031 kB / 0.7204 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.183e-05/0.3998, allocations: 104.9 kB / 0.7205 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3998, allocations: 1.438 kB / 0.7205 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3998, allocations: 4.312 kB / 0.7205 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.3999, allocations: 29.38 kB / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3999, allocations: 192 / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3999, allocations: 5.031 kB / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3999, allocations: 0 / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.3999, allocations: 5.969 kB / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.4001, allocations: 333.5 kB / 0.7208 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.4001, allocations: 167.8 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.4002, allocations: 80.14 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.4002, allocations: 85.06 kB / 0.7211 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.4002, allocations: 111.9 kB / 0.7213 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.4002, allocations: 0 / 0.7213 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.355e-05/0.4002, allocations: 31.3 kB / 0.7213 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.4003, allocations: 128.5 kB / 0.7214 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.4003, allocations: 95.67 kB / 0.7215 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-06/0.4003, allocations: 25.7 kB / 0.7215 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.516e-05/0.4003, allocations: 81.8 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.4003, allocations: 0 / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.4003, allocations: 11.95 kB / 0.7216 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.4004, allocations: 320 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-06/0.4004, allocations: 1.156 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-06/0.4004, allocations: 0 / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-06/0.4004, allocations: 77.14 kB / 0.722 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4004, allocations: 79.28 kB / 0.7221 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.033e-05/0.4004, allocations: 36.64 kB / 0.7221 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4004, allocations: 85.09 kB / 0.7222 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4005, allocations: 77.36 kB / 0.7223 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4005, allocations: 151.7 kB / 0.7224 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-06/0.4005, allocations: 81.47 kB / 0.7225 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4005, allocations: 152.8 kB / 0.7226 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.4005, allocations: 80.44 kB / 0.7227 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4005, allocations: 81.36 kB / 0.7228 GB, free: 20.29 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.191e-05/0.4006, allocations: 259.8 kB / 0.723 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.4006, allocations: 110.9 kB / 0.7231 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.4006, allocations: 110.5 kB / 0.7232 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4006, allocations: 182.7 kB / 0.7234 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.4006, allocations: 186.1 kB / 0.7236 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.4007, allocations: 178.1 kB / 0.7238 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.637e-05/0.4007, allocations: 354.2 kB / 0.7241 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.4007, allocations: 106.8 kB / 0.7242 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.4007, allocations: 102.8 kB / 0.7243 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.4008, allocations: 194.4 kB / 0.7245 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.4008, allocations: 182.7 kB / 0.7247 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/0.4008, allocations: 182.5 kB / 0.7248 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/0.4008, allocations: 178.7 kB / 0.725 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.611e-05/0.4009, allocations: 309.3 kB / 0.7253 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.4009, allocations: 120.7 kB / 0.7254 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.4009, allocations: 182.4 kB / 0.7256 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.4009, allocations: 103.8 kB / 0.7257 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.401, allocations: 178.4 kB / 0.7259 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.401, allocations: 105.7 kB / 0.726 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.401, allocations: 80.78 kB / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.401, allocations: 0 / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001663/0.4012, allocations: 1.438 kB / 0.726 GB, free: 16.82 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.0001183/0.4013, allocations: 173 kB / 0.7262 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.91e-05/0.4013, allocations: 1.469 kB / 0.7262 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4013, allocations: 0 / 0.7262 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.4013, allocations: 2.062 kB / 0.7262 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4016, allocations: 460.1 kB / 0.7266 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.4018, allocations: 186.4 kB / 0.7268 GB, free: 16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.4018, allocations: 55.53 kB / 0.7269 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-06/0.4018, allocations: 8.5 kB / 0.7269 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4018, allocations: 0 / 0.7269 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.001206/0.403, allocations: 322 kB / 0.7272 GB, free: 15.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.223672873806208] Failed to read output from testmodel.py, exit status != 0: 0.4080377430655062 0.416429977 0.015368412000000001 Calling exit ...