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.002009/0.002009, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002767/0.002767, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.336/1.336, allocations: 203.8 MB / 0.5041 GB, free: 4.594 MB / 414.1 MB " [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.002134/0.002134, allocations: 66.95 kB / 0.7187 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6272, allocations: 102 MB / 0.8183 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.00207/0.6293, allocations: 0.6916 MB / 0.819 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.6304, allocations: 0.8276 MB / 0.8198 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.6304, allocations: 3.938 kB / 0.8198 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.6304, allocations: 0 / 0.8198 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.6305, allocations: 11.88 kB / 0.8198 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 7.235e-05/0.6306, allocations: 15.98 kB / 0.8198 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6307, allocations: 43.91 kB / 0.8199 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.6308, allocations: 7.938 kB / 0.8199 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.6309, allocations: 19.92 kB / 0.8199 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.631, allocations: 15.92 kB / 0.8199 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.631, allocations: 4 kB / 0.8199 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.631, allocations: 4 kB / 0.8199 GB, free: 224 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.631, allocations: 7.984 kB / 0.8199 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.6311, allocations: 19.92 kB / 0.8199 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.6312, allocations: 47.59 kB / 0.82 GB, free: 152 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6312, allocations: 0 / 0.82 GB, free: 152 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6312, allocations: 4 kB / 0.82 GB, free: 148 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.6312, allocations: 7.938 kB / 0.82 GB, free: 140 kB / 0.5919 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.0005904/0.6318, allocations: 284.8 kB / 0.8203 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6318, allocations: 9.469 kB / 0.8203 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.6318, allocations: 8.891 kB / 0.8203 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.632, allocations: 102.5 kB / 0.8204 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.632, allocations: 8.375 kB / 0.8204 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.632, allocations: 384 / 0.8204 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.6323, allocations: 82.19 kB / 0.8205 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6323, allocations: 192 / 0.8205 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6323, allocations: 3.938 kB / 0.8205 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6323, allocations: 0 / 0.8205 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.6326, allocations: 63.92 kB / 0.8205 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.633, allocations: 208.5 kB / 0.8207 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.6332, allocations: 54.55 kB / 0.8208 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.6334, allocations: 48.84 kB / 0.8208 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6334, allocations: 0 / 0.8208 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6334, allocations: 30.56 kB / 0.8209 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.6334, allocations: 0 / 0.8209 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005546/0.634, allocations: 133.5 kB / 0.821 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.634, allocations: 51.41 kB / 0.821 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.6341, allocations: 113.8 kB / 0.8211 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.6341, allocations: 29.7 kB / 0.8212 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.6342, allocations: 84.14 kB / 0.8212 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.6342, allocations: 19.83 kB / 0.8213 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.6343, allocations: 13.72 kB / 0.8213 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6344, allocations: 318.8 kB / 0.8216 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.6346, allocations: 31.97 kB / 0.8216 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.6347, allocations: 35.89 kB / 0.8216 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.635, allocations: 72.72 kB / 0.8217 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.635, allocations: 0 / 0.8217 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.6353, allocations: 101.6 kB / 0.8218 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6353, allocations: 10.34 kB / 0.8218 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6353, allocations: 3.938 kB / 0.8218 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6354, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6355, allocations: 15.98 kB / 0.8218 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6355, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.6356, allocations: 11.98 kB / 0.8219 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.6356, allocations: 4 kB / 0.8219 GB, free: 14.05 MB / 0.6075 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 0.0001021/0.6357, allocations: 118.1 kB / 0.822 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.6357, allocations: 11.89 kB / 0.822 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.6357, allocations: 4 kB / 0.822 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6357, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6358, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6358, allocations: 0 / 0.822 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.6359, allocations: 109.6 kB / 0.8221 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6359, allocations: 4 kB / 0.8221 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.636, allocations: 31.86 kB / 0.8221 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.636, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.636, allocations: 3.984 kB / 0.8221 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.636, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.636, allocations: 0 / 0.8221 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.6364, allocations: 195.4 kB / 0.8223 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.6364, allocations: 7.938 kB / 0.8223 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.6364, allocations: 4 kB / 0.8223 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6366, allocations: 11.98 kB / 0.8223 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.6366, allocations: 7.984 kB / 0.8223 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.6366, allocations: 0 / 0.8223 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.6367, allocations: 87.27 kB / 0.8224 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6367, allocations: 0 / 0.8224 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002138/0.6369, allocations: 8 kB / 0.8224 GB, free: 13.41 MB / 0.6075 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.0001268/0.637, allocations: 95.19 kB / 0.8225 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.6374, allocations: 71.92 kB / 0.8226 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6374, allocations: 0 / 0.8226 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.6375, allocations: 39.89 kB / 0.8226 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6378, allocations: 8 kB / 0.8226 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.6382, allocations: 133.3 kB / 0.8228 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.6383, allocations: 71.22 kB / 0.8228 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.6383, allocations: 3.984 kB / 0.8228 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.6383, allocations: 7.438 kB / 0.8228 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.6383, allocations: 0 / 0.8228 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.003383/0.6417, allocations: 0.7397 MB / 0.8236 GB, free: 12.21 MB / 0.6075 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.929480774328113] Failed to read output from testmodel.py, exit status != 0: 0.6510534379631281 0.6666770679999999 0.03226611 Calling exit ...