Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.001601/0.001601, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001892/0.001892, allocations: 217.1 kB / 22.25 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.781 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.285/1.285, allocations: 203.8 MB / 0.5041 GB, free: 4.613 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [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.002128/0.002128, allocations: 79.89 kB / 0.7187 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6624, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002198/0.6646, allocations: 0.6851 MB / 0.819 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.6657, allocations: 0.8284 MB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.6658, allocations: 1.156 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.6658, allocations: 5.766 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.6659, allocations: 5.562 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 9.597e-05/0.666, allocations: 15.19 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.6661, allocations: 38.98 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.6662, allocations: 8.922 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.6663, allocations: 17.86 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.6664, allocations: 22.89 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.6664, allocations: 3.844 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.6664, allocations: 4.719 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.6664, allocations: 18.89 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.6665, allocations: 14.61 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.6666, allocations: 35.91 kB / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6666, allocations: 2.016 kB / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6666, allocations: 0 / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.6666, allocations: 1.844 kB / 0.82 GB, free: 27.74 MB / 0.6387 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.0005919/0.6672, allocations: 287.8 kB / 0.8202 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6673, allocations: 12.97 kB / 0.8203 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.6673, allocations: 7.766 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.6674, allocations: 113.9 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6674, allocations: 2.75 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.6674, allocations: 1.594 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.6677, allocations: 69.95 kB / 0.8204 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6677, allocations: 2.25 kB / 0.8204 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6678, allocations: 3.938 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.6678, allocations: 0.8125 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.6681, allocations: 73.05 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.6685, allocations: 210.7 kB / 0.8207 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.6687, allocations: 56.98 kB / 0.8208 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.6688, allocations: 43.81 kB / 0.8208 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.6688, allocations: 0.7188 kB / 0.8208 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.6689, allocations: 36.89 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.6689, allocations: 1.281 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005649/0.6694, allocations: 126.8 kB / 0.821 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6695, allocations: 51.91 kB / 0.821 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.6695, allocations: 115.9 kB / 0.8211 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.6695, allocations: 25.7 kB / 0.8212 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.6696, allocations: 83.27 kB / 0.8212 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.6696, allocations: 18.86 kB / 0.8213 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.6696, allocations: 12.19 kB / 0.8213 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.6697, allocations: 318.7 kB / 0.8216 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6699, allocations: 30.12 kB / 0.8216 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.67, allocations: 38.06 kB / 0.8216 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.6703, allocations: 70.91 kB / 0.8217 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6703, allocations: 4.094 kB / 0.8217 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003166/0.6706, allocations: 97.66 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6706, allocations: 5.281 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6706, allocations: 4 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6707, allocations: 1.703 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.6708, allocations: 15.81 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.6708, allocations: 5.5 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.6709, allocations: 11.36 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.6709, allocations: 0.5156 kB / 0.8218 GB, free: 26.22 MB / 0.6387 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 6.227e-05/0.671, allocations: 118.4 kB / 0.822 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.671, allocations: 9.484 kB / 0.822 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.671, allocations: 6.484 kB / 0.822 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.671, allocations: 1 kB / 0.822 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.671, allocations: 0.5625 kB / 0.822 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.671, allocations: 0 / 0.822 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.6711, allocations: 117.2 kB / 0.8221 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6711, allocations: 0 / 0.8221 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.6712, allocations: 23.44 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6712, allocations: 4.938 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6712, allocations: 0.6094 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6712, allocations: 4.516 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6712, allocations: 0.9375 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.6716, allocations: 194.3 kB / 0.8223 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.6716, allocations: 10.56 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.6716, allocations: 1.047 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.6718, allocations: 11.8 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.6718, allocations: 7.75 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.6718, allocations: 1.656 kB / 0.8223 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.6719, allocations: 88.05 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6719, allocations: 0 / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002222/0.6721, allocations: 6.156 kB / 0.8224 GB, free: 25.7 MB / 0.6387 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.0001342/0.6722, allocations: 97.66 kB / 0.8225 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.6726, allocations: 65.73 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6726, allocations: 0.625 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.6728, allocations: 34.05 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.6731, allocations: 17.83 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.6735, allocations: 130.4 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.6735, allocations: 68.73 kB / 0.8228 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.6736, allocations: 2.328 kB / 0.8228 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.6736, allocations: 8.656 kB / 0.8228 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6736, allocations: 0 / 0.8228 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.003477/0.6771, allocations: 0.7388 MB / 0.8236 GB, free: 25.29 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.845396934077144] Failed to read output from testmodel.py, exit status != 0: 0.6867763604968786 0.700844304 0.03135979 Calling exit ...