Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0007538/0.0007538, allocations: 72.45 kB / 19.91 MB, free: 12 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.0007621/0.0007621, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8891/0.8891, allocations: 177.2 MB / 203.6 MB, free: 5.789 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.684/0.684, 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0008866/0.0008866, allocations: 67.89 kB / 0.6199 GB, free: 12.72 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.4/0.4009, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001182/0.4021, allocations: 0.5473 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.914e-05/0.4021, allocations: 5.062 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.4021, allocations: 0 / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.4022, allocations: 0.6562 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.466e-05/0.4022, allocations: 0 / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.83e-05/0.4022, allocations: 1.156 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.4023, allocations: 2.141 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.4023, allocations: 2.047 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.4024, allocations: 1.469 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.4024, allocations: 4 kB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.4024, allocations: 3.938 kB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-06/0.4024, allocations: 1.156 kB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.4024, allocations: 7.938 kB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.4024, allocations: 1.094 kB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.153e-05/0.4025, allocations: 7.062 kB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4025, allocations: 0 / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4025, allocations: 0 / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4025, allocations: 0 / 0.7201 GB, free: 23.09 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.0001986/0.4027, allocations: 237.1 kB / 0.7203 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4027, allocations: 11.16 kB / 0.7203 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.4028, allocations: 9.391 kB / 0.7203 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.4028, allocations: 109.9 kB / 0.7204 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4028, allocations: 384 / 0.7204 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4028, allocations: 1.625 kB / 0.7204 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.4029, allocations: 29.14 kB / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4029, allocations: 192 / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4029, allocations: 3.938 kB / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4029, allocations: 0 / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.4029, allocations: 6.172 kB / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.4031, allocations: 330 kB / 0.7208 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.4031, allocations: 171.2 kB / 0.7209 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.4032, allocations: 81.67 kB / 0.721 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4032, allocations: 79.92 kB / 0.7211 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4032, allocations: 118.9 kB / 0.7212 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.02e-07/0.4032, allocations: 0 / 0.7212 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.596e-05/0.4033, allocations: 31.31 kB / 0.7212 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4033, allocations: 128.4 kB / 0.7213 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.4033, allocations: 93.3 kB / 0.7214 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.4033, allocations: 25.7 kB / 0.7215 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.4034, allocations: 81.14 kB / 0.7215 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.4034, allocations: 4.125 kB / 0.7215 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.4034, allocations: 12.61 kB / 0.7216 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.4034, allocations: 316.3 kB / 0.7219 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-06/0.4034, allocations: 0 / 0.7219 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.4034, allocations: 0.9688 kB / 0.7219 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-06/0.4034, allocations: 79.28 kB / 0.7219 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.4034, allocations: 76.16 kB / 0.722 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.991e-05/0.4035, allocations: 37.08 kB / 0.722 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4035, allocations: 81.06 kB / 0.7221 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4035, allocations: 77.78 kB / 0.7222 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4035, allocations: 155 kB / 0.7223 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-06/0.4035, allocations: 82.12 kB / 0.7224 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.4035, allocations: 156.1 kB / 0.7226 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.4036, allocations: 77.27 kB / 0.7226 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.4036, allocations: 80.31 kB / 0.7227 GB, free: 20.25 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.259e-05/0.4036, allocations: 260.1 kB / 0.723 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.4036, allocations: 111.1 kB / 0.7231 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.4037, allocations: 109.3 kB / 0.7232 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.4037, allocations: 184 kB / 0.7234 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.4037, allocations: 178.3 kB / 0.7235 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.4037, allocations: 182.4 kB / 0.7237 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.486e-05/0.4038, allocations: 357.9 kB / 0.724 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4038, allocations: 106.8 kB / 0.7241 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.4038, allocations: 106.7 kB / 0.7242 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.752e-05/0.4038, allocations: 185.8 kB / 0.7244 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4038, allocations: 182.3 kB / 0.7246 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.4039, allocations: 182.7 kB / 0.7248 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.4039, allocations: 178.2 kB / 0.7249 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.835e-05/0.4039, allocations: 306.7 kB / 0.7252 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.4039, allocations: 120.2 kB / 0.7253 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.404, allocations: 182 kB / 0.7255 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.404, allocations: 106.7 kB / 0.7256 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.404, allocations: 183.9 kB / 0.7258 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.404, allocations: 106.1 kB / 0.7259 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.404, allocations: 80.94 kB / 0.726 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.404, allocations: 0 / 0.726 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001565/0.4042, allocations: 1.062 kB / 0.726 GB, free: 16.79 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.983e-05/0.4043, allocations: 170 kB / 0.7261 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.879e-05/0.4043, allocations: 2.047 kB / 0.7261 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4043, allocations: 4.031 kB / 0.7261 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.4043, allocations: 4 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.0001781/0.4045, allocations: 455.8 kB / 0.7266 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/0.4047, allocations: 186.1 kB / 0.7268 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.4047, allocations: 55.61 kB / 0.7268 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-06/0.4047, allocations: 8.5 kB / 0.7268 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.4047, allocations: 1.156 kB / 0.7268 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.001098/0.4058, allocations: 319.2 kB / 0.7271 GB, free: 15.88 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.224594519007951] Failed to read output from testmodel.py, exit status != 0: 0.41061118710786104 0.41835089799999997 0.014311876000000001 Calling exit ...