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.001323/0.001323, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001673/0.001673, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.535/1.535, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.223/1.223, allocations: 154.6 MB / 413.7 MB, free: 5.293 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.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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.867e-05, allocations: 5.672 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002565/0.002604, allocations: 0.6899 MB / 0.6193 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004268, allocations: 0.8237 MB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.00432, allocations: 0 / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.004356, allocations: 3.984 kB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.004465, allocations: 11.88 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.754e-05/0.004553, allocations: 11.98 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004675, allocations: 43.86 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.004811, allocations: 11.97 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.00494, allocations: 23.98 kB / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.005004, allocations: 19.92 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.005029, allocations: 0 / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.00504, allocations: 4 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.005069, allocations: 11.98 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.005114, allocations: 12 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.005254, allocations: 47.84 kB / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.005257, allocations: 4 kB / 0.6203 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.061e-06/0.005258, allocations: 0 / 0.6203 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.005266, allocations: 3.938 kB / 0.6203 GB, free: 2.871 MB / 0.5294 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.0007157/0.005981, allocations: 286.2 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.006034, allocations: 9.469 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.006077, allocations: 12.88 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.006204, allocations: 105.8 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.006221, allocations: 4.375 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.006231, allocations: 384 / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.006517, allocations: 78.22 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006526, allocations: 192 / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.006536, allocations: 384 / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.00654, allocations: 384 / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.00686, allocations: 67.86 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.007331, allocations: 212.5 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.007641, allocations: 58.53 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.007888, allocations: 40.92 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.007907, allocations: 3.984 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.007944, allocations: 30.56 kB / 0.6211 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.007945, allocations: 3.938 kB / 0.6211 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0008432/0.008788, allocations: 141.4 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.008835, allocations: 51.41 kB / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.008999, allocations: 105.8 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.009032, allocations: 25.7 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.00912, allocations: 92.12 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.009161, allocations: 11.84 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.009256, allocations: 17.72 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.009498, allocations: 314.8 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.009722, allocations: 35.95 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.009926, allocations: 27.97 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.01036, allocations: 72.72 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01036, allocations: 4 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004758/0.01084, allocations: 93.62 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.01086, allocations: 7.938 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01087, allocations: 0 / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01089, allocations: 0 / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.01108, allocations: 23.97 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01108, allocations: 0 / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.0112, allocations: 15.98 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01121, allocations: 0 / 0.6221 GB, free: 0.7812 MB / 0.5294 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.0001241/0.01134, allocations: 110.8 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.01138, allocations: 3.953 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.01142, allocations: 11.94 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01142, allocations: 4 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01143, allocations: 0 / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.01144, allocations: 3.984 kB / 0.6223 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.01165, allocations: 109.3 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01166, allocations: 4 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01179, allocations: 15.92 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0118, allocations: 0 / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01181, allocations: 4 kB / 0.6224 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.01182, allocations: 7.938 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.01182, allocations: 4 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.0124, allocations: 191.8 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.01242, allocations: 8.047 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01244, allocations: 7.922 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.0126, allocations: 11.92 kB / 0.6226 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.01267, allocations: 11.98 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.01268, allocations: 0 / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.067e-05/0.01276, allocations: 91.27 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01276, allocations: 0 / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004114/0.01317, allocations: 4 kB / 0.6227 GB, free: 124 kB / 0.5294 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.000183/0.01335, allocations: 107.1 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.01389, allocations: 67.91 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01389, allocations: 0 / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.01412, allocations: 31.97 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.01462, allocations: 14.34 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.01506, allocations: 128.7 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.01515, allocations: 63.34 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.01519, allocations: 3.938 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.01524, allocations: 8.5 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.01524, allocations: 4 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of Templates: time 0.004883/0.02012, allocations: 0.7265 MB / 0.6238 GB, free: 14.94 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.968848440796137] Failed to read output from testmodel.py, exit status != 0: 0.032175272703170776 0.051820326 0.042234266 Calling exit ...