Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008562/0.0008562, 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.001003/0.001003, 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.8893/0.8893, 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.7072/0.7072, allocations: 155 MB / 414.9 MB, free: 0.5 MB / 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.0009271/0.0009271, allocations: 63.91 kB / 0.62 GB, free: 12.69 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.4667/0.4676, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001502/0.4691, allocations: 0.6813 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4702, allocations: 0.8311 MB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.4703, allocations: 5.719 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.4703, allocations: 3.938 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.4704, allocations: 4.688 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.008e-05/0.4705, allocations: 15 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.4706, allocations: 38.78 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4707, allocations: 9.438 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4708, allocations: 34.06 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.4708, allocations: 17.62 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.4709, allocations: 3.344 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.4709, allocations: 3.469 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.4709, allocations: 19.08 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.4709, allocations: 17.39 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.471, allocations: 44.7 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.471, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.145e-06/0.471, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.471, allocations: 1.125 kB / 0.7212 GB, free: 22.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003906/0.4714, allocations: 284.2 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4715, allocations: 11.19 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.4715, allocations: 6.328 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.4716, allocations: 120.2 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4716, allocations: 5.781 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4716, allocations: 1.812 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4718, allocations: 73.27 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4718, allocations: 4.188 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4718, allocations: 7.875 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4718, allocations: 2.031 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.472, allocations: 70.17 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.4723, allocations: 207.2 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.4724, allocations: 49.62 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.4725, allocations: 51.67 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.4725, allocations: 0.75 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.4725, allocations: 35.94 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4725, allocations: 1.219 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003413/0.4729, allocations: 123.5 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4729, allocations: 56.47 kB / 0.7223 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.473, allocations: 111.9 kB / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.473, allocations: 29.7 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.473, allocations: 87.77 kB / 0.7225 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.473, allocations: 13.86 kB / 0.7225 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.473, allocations: 14.12 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.4731, allocations: 321.3 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.4731, allocations: 31.77 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.4732, allocations: 26.88 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4734, allocations: 70.38 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4734, allocations: 0.6562 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001789/0.4735, allocations: 102.3 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4736, allocations: 4.625 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4736, allocations: 0.7031 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4736, allocations: 5.062 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.4737, allocations: 15.44 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4737, allocations: 4.688 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.4737, allocations: 10.98 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4737, allocations: 1.969 kB / 0.7231 GB, free: 20.74 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 (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 4.815e-05/0.4738, allocations: 120.8 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.4738, allocations: 10.17 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.4738, allocations: 5.938 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4738, allocations: 4 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4738, allocations: 1.828 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4738, allocations: 0 / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.553e-05/0.4739, allocations: 108 kB / 0.7233 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4739, allocations: 1.188 kB / 0.7233 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.474, allocations: 22.75 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.474, allocations: 1.156 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.474, allocations: 0.8906 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.474, allocations: 1.125 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.474, allocations: 0 / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4742, allocations: 198.6 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.4742, allocations: 14.86 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4742, allocations: 5.922 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.4742, allocations: 15.03 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.4743, allocations: 7.922 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4743, allocations: 1.25 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.4743, allocations: 88.31 kB / 0.7237 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4743, allocations: 4 kB / 0.7237 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001392/0.4745, allocations: 6 kB / 0.7237 GB, free: 20.21 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 (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 9.413e-05/0.4745, allocations: 93.23 kB / 0.7238 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4748, allocations: 66.67 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4748, allocations: 0 / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.4748, allocations: 42.77 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4751, allocations: 8.031 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.4754, allocations: 146.8 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.4754, allocations: 68.41 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.4755, allocations: 10.75 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of SimCode: time 3.8e-07/0.4755, allocations: 0 / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.001857/0.4773, allocations: 0.7594 MB / 0.7249 GB, free: 19.83 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.505396066932008] Failed to read output from testmodel.py, exit status != 0: 0.48413376277312636 0.495148896 0.021954183000000002 Calling exit ...