Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0007242/0.0007242, 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.0007441/0.0007441, 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.8604/0.8604, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7004/0.7004, 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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") [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.0009425/0.0009425, allocations: 69.61 kB / 0.62 GB, free: 12.66 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.4159/0.4169, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001336/0.4182, allocations: 0.6514 MB / 0.7202 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000702/0.4189, allocations: 0.8683 MB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.4189, allocations: 1.344 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.419, allocations: 4.562 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.419, allocations: 4.594 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.4192, allocations: 13.42 kB / 0.7211 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.4192, allocations: 23.66 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.4193, allocations: 11.77 kB / 0.7211 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.4194, allocations: 11.14 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.483e-05/0.4194, allocations: 9.797 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4195, allocations: 1.312 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.4195, allocations: 2.719 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.4195, allocations: 4.844 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.4195, allocations: 15.66 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.897e-05/0.4196, allocations: 22.17 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4196, allocations: 1.062 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4196, allocations: 0 / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4196, allocations: 3.938 kB / 0.7212 GB, free: 22.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003078/0.4199, allocations: 263 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4199, allocations: 11.42 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.42, allocations: 2.031 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.42, allocations: 118 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.42, allocations: 1.5 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.42, allocations: 9.531 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4202, allocations: 45.47 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4202, allocations: 1.031 kB / 0.7216 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4202, allocations: 11.88 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4202, allocations: 1.875 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.4203, allocations: 35.7 kB / 0.7216 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.4205, allocations: 194.5 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.4206, allocations: 39.72 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.4206, allocations: 23.81 kB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4207, allocations: 5.281 kB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.4207, allocations: 32.62 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.4207, allocations: 0 / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.4209, allocations: 83.58 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.4209, allocations: 56.78 kB / 0.722 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.421, allocations: 97.53 kB / 0.7221 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.421, allocations: 31.08 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.421, allocations: 83.06 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.421, allocations: 3.953 kB / 0.7223 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.421, allocations: 13.14 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.676e-05/0.4211, allocations: 316.2 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.4211, allocations: 14.19 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.4211, allocations: 19.12 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.4212, allocations: 41.08 kB / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4212, allocations: 0 / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.4213, allocations: 75.78 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.4214, allocations: 8.438 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4214, allocations: 1.594 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4214, allocations: 0 / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.4214, allocations: 12.8 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4214, allocations: 1.609 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.4215, allocations: 5.672 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.4215, allocations: 1.156 kB / 0.7227 GB, free: 20.89 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 (2): * Single equations (assignments): 2 * 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.629e-05/0.4215, allocations: 116.5 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.4215, allocations: 4.906 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.4215, allocations: 9.062 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4216, allocations: 1.031 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4216, allocations: 0.75 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4216, allocations: 4 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.358e-05/0.4216, allocations: 104.4 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4216, allocations: 0.75 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.4216, allocations: 8.844 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4217, allocations: 5 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.4217, allocations: 0.5156 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4217, allocations: 3.938 kB / 0.723 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.4217, allocations: 1.125 kB / 0.723 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4218, allocations: 168.4 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.4218, allocations: 8.984 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.4218, allocations: 1.797 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.4218, allocations: 5.828 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4219, allocations: 2.438 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.4219, allocations: 5.578 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.4219, allocations: 84.16 kB / 0.7233 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4219, allocations: 0 / 0.7233 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001476/0.422, allocations: 3.656 kB / 0.7233 GB, free: 20.4 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 (2): * Single equations (assignments): 2 * 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.352e-05/0.4221, allocations: 96.33 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.4222, allocations: 38.95 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4222, allocations: 1.062 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.4223, allocations: 20.34 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4225, allocations: 3.062 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.4227, allocations: 129.5 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.4227, allocations: 66.89 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.4228, allocations: 10.78 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.4228, allocations: 0 / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.001496/0.4243, allocations: 0.5549 MB / 0.7241 GB, free: 20.04 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.412289458094165] Failed to read output from testmodel.py, exit status != 0: 0.42918967898003757 0.43722956900000004 0.016000050000000002 Calling exit ...