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.001351/0.001351, allocations: 82.48 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001498/0.001498, allocations: 169.5 kB / 22.44 MB, free: 5.34 MB / 14.72 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 1.387/1.387, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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 1.177/1.177, allocations: 155 MB / 414.2 MB, free: 4.957 MB / 382.1 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 178] 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.002129/0.002129, allocations: 70.66 kB / 0.6192 GB, free: 4.086 MB / 0.5294 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.5594/0.5615, allocations: 102 MB / 0.7188 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001701/0.5632, allocations: 0.6906 MB / 0.7195 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.564, allocations: 0.8314 MB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.564, allocations: 1.312 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.5641, allocations: 3.938 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.427e-05/0.5641, allocations: 5.906 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.328e-05/0.5642, allocations: 18.86 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.5643, allocations: 42.28 kB / 0.7204 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.5644, allocations: 9.281 kB / 0.7204 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.5645, allocations: 21.33 kB / 0.7204 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.5645, allocations: 18.19 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5645, allocations: 3.625 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.5645, allocations: 7.469 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.5645, allocations: 10.94 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.5646, allocations: 21.7 kB / 0.7204 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.222e-05/0.5647, allocations: 44.17 kB / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5647, allocations: 5.156 kB / 0.7205 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5647, allocations: 0 / 0.7205 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5647, allocations: 0 / 0.7205 GB, free: 0.5977 MB / 0.6075 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.0004204/0.5651, allocations: 288.4 kB / 0.7208 GB, free: 328 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5651, allocations: 12.25 kB / 0.7208 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.5651, allocations: 6.609 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.5652, allocations: 110.8 kB / 0.7209 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5652, allocations: 5.562 kB / 0.7209 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.5652, allocations: 6.125 kB / 0.7209 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.5655, allocations: 72.86 kB / 0.721 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5655, allocations: 192 / 0.721 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5655, allocations: 8.922 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5655, allocations: 0 / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.5658, allocations: 67.53 kB / 0.721 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.5661, allocations: 210.4 kB / 0.7212 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.5663, allocations: 55.44 kB / 0.7213 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.5665, allocations: 47.02 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.5665, allocations: 0.7031 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5665, allocations: 35.69 kB / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5665, allocations: 1.781 kB / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.5671, allocations: 127.1 kB / 0.7215 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5671, allocations: 52.47 kB / 0.7215 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.5672, allocations: 107.3 kB / 0.7216 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5672, allocations: 31.14 kB / 0.7217 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.5673, allocations: 86.92 kB / 0.7218 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5673, allocations: 13.88 kB / 0.7218 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.5673, allocations: 13.72 kB / 0.7218 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5675, allocations: 321.4 kB / 0.7221 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5676, allocations: 27.12 kB / 0.7221 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.5678, allocations: 35.55 kB / 0.7222 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.568, allocations: 66.72 kB / 0.7222 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.5681, allocations: 8 kB / 0.7222 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003285/0.5684, allocations: 103.2 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5684, allocations: 5 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.5684, allocations: 0 / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5684, allocations: 0.6562 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5685, allocations: 15.05 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5685, allocations: 1.312 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.5686, allocations: 15.89 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.5686, allocations: 1.094 kB / 0.7224 GB, free: 15.05 MB / 0.6231 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 8.541e-05/0.5687, allocations: 117.8 kB / 0.7225 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.5687, allocations: 14.2 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.5688, allocations: 5.672 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5688, allocations: 0.8438 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5688, allocations: 3.938 kB / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5688, allocations: 1.594 kB / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.5689, allocations: 107.9 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5689, allocations: 4.703 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.569, allocations: 24.2 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.569, allocations: 336 / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.569, allocations: 0.75 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.569, allocations: 1.125 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.569, allocations: 0 / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.5694, allocations: 194.8 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.5694, allocations: 10.05 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.5694, allocations: 1.875 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.5695, allocations: 18.58 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.5696, allocations: 8.562 kB / 0.7229 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5696, allocations: 1.031 kB / 0.7229 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.5696, allocations: 92.36 kB / 0.7229 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5696, allocations: 0 / 0.7229 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000218/0.5699, allocations: 6.469 kB / 0.7229 GB, free: 14.52 MB / 0.6231 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 0.0001043/0.57, allocations: 96.73 kB / 0.723 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.5703, allocations: 66.98 kB / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5703, allocations: 0 / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5705, allocations: 33.88 kB / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.5708, allocations: 13.56 kB / 0.7232 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.5711, allocations: 129.8 kB / 0.7233 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.5711, allocations: 63.61 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.5711, allocations: 1.984 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.5712, allocations: 14.69 kB / 0.7234 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.5712, allocations: 0 / 0.7234 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.003021/0.5742, allocations: 0.7305 MB / 0.7241 GB, free: 14.11 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.0940864738076925] Failed to read output from testmodel.py, exit status != 0: 0.5830830112099648 0.598436794 0.030251722 Calling exit ...