Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0008349/0.0008349, allocations: 72.45 kB / 19.9 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.0009418/0.0009418, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8706/0.8706, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7051/0.7051, allocations: 155 MB / 415 MB, free: 488 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0009744/0.0009744, allocations: 69.83 kB / 0.6199 GB, free: 12.73 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.4005/0.4015, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001148/0.4026, allocations: 0.5346 MB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 2.407e-05/0.4026, allocations: 3.938 kB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.4027, allocations: 1.344 kB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.4027, allocations: 4 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.248e-05/0.4027, allocations: 0 / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 1.468e-05/0.4027, allocations: 0 / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.4027, allocations: 3.109 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.4028, allocations: 1.844 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.4028, allocations: 8.547 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.664e-05/0.4028, allocations: 1.375 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.4028, allocations: 0 / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-06/0.4028, allocations: 0 / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.4029, allocations: 1.219 kB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.4029, allocations: 0 / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 4.855e-05/0.4029, allocations: 11.09 kB / 0.72 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4029, allocations: 0 / 0.72 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4029, allocations: 0.9688 kB / 0.72 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4029, allocations: 0 / 0.72 GB, free: 23.08 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.0001944/0.4031, allocations: 240.9 kB / 0.7203 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4032, allocations: 11.12 kB / 0.7203 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.4032, allocations: 5.547 kB / 0.7203 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.862e-05/0.4032, allocations: 109.5 kB / 0.7204 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4033, allocations: 4.312 kB / 0.7204 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.4033, allocations: 1.438 kB / 0.7204 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.883e-05/0.4033, allocations: 36.94 kB / 0.7204 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4033, allocations: 192 / 0.7204 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.4033, allocations: 3.938 kB / 0.7204 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4034, allocations: 1.766 kB / 0.7204 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.207e-05/0.4034, allocations: 1.062 kB / 0.7204 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.4035, allocations: 330.2 kB / 0.7208 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.4036, allocations: 171.1 kB / 0.7209 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.4036, allocations: 80.14 kB / 0.721 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4036, allocations: 80.34 kB / 0.7211 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4036, allocations: 116.3 kB / 0.7212 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.4036, allocations: 4 kB / 0.7212 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.205e-05/0.4037, allocations: 31.55 kB / 0.7212 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.4037, allocations: 128.3 kB / 0.7213 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.4037, allocations: 91.69 kB / 0.7214 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-06/0.4037, allocations: 26.77 kB / 0.7215 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.4037, allocations: 80.8 kB / 0.7215 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.4037, allocations: 1.188 kB / 0.7215 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.4038, allocations: 11.5 kB / 0.7215 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.482e-05/0.4038, allocations: 320.1 kB / 0.7218 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.4038, allocations: 0 / 0.7218 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.4038, allocations: 5.75 kB / 0.7219 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-06/0.4038, allocations: 75.28 kB / 0.7219 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4038, allocations: 76.47 kB / 0.722 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.8e-05/0.4038, allocations: 32.34 kB / 0.722 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4038, allocations: 85.36 kB / 0.7221 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4039, allocations: 77.11 kB / 0.7222 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4039, allocations: 151.7 kB / 0.7223 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-06/0.4039, allocations: 80.94 kB / 0.7224 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4039, allocations: 152.4 kB / 0.7225 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.4039, allocations: 81.77 kB / 0.7226 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4039, allocations: 80.56 kB / 0.7227 GB, free: 20.24 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 3.773e-05/0.404, allocations: 264 kB / 0.723 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.404, allocations: 111 kB / 0.7231 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.404, allocations: 113.5 kB / 0.7232 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.404, allocations: 179.3 kB / 0.7233 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.404, allocations: 187.9 kB / 0.7235 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.404, allocations: 178 kB / 0.7237 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.625e-05/0.4041, allocations: 349.1 kB / 0.724 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4041, allocations: 106.6 kB / 0.7241 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-06/0.4041, allocations: 102.8 kB / 0.7242 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.4041, allocations: 198 kB / 0.7244 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4042, allocations: 182.3 kB / 0.7246 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/0.4042, allocations: 182.7 kB / 0.7248 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.4042, allocations: 182 kB / 0.7249 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.583e-05/0.4042, allocations: 307.7 kB / 0.7252 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.4042, allocations: 111.4 kB / 0.7253 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.4043, allocations: 178.6 kB / 0.7255 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.4043, allocations: 107.2 kB / 0.7256 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.4043, allocations: 178.3 kB / 0.7258 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4043, allocations: 110.9 kB / 0.7259 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.4043, allocations: 76.92 kB / 0.726 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4043, allocations: 4.094 kB / 0.726 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001571/0.4045, allocations: 1.25 kB / 0.726 GB, free: 16.77 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 7.232e-05/0.4046, allocations: 169.4 kB / 0.7261 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.282e-05/0.4046, allocations: 1.062 kB / 0.7261 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4046, allocations: 0 / 0.7261 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.4046, allocations: 1.25 kB / 0.7261 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.4048, allocations: 455.2 kB / 0.7266 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001437/0.4049, allocations: 191.3 kB / 0.7267 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.4049, allocations: 58.83 kB / 0.7268 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-06/0.405, allocations: 9.203 kB / 0.7268 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.405, allocations: 0 / 0.7268 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.001054/0.406, allocations: 321.6 kB / 0.7271 GB, free: 15.86 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.269596688915044] Failed to read output from testmodel.py, exit status != 0: 0.41289619798772037 0.419864543 0.015156785 Calling exit ...