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.00149/0.00149, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001534/0.001534, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.023 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.38/1.38, allocations: 203.8 MB / 0.5041 GB, free: 4.949 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.002135/0.002135, allocations: 71.89 kB / 0.7188 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6153, allocations: 102 MB / 0.8184 GB, free: 29.23 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002408/0.6177, allocations: 0.6894 MB / 0.819 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.619, allocations: 0.841 MB / 0.8199 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.6191, allocations: 0 / 0.8199 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.6191, allocations: 6.312 kB / 0.8199 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.6192, allocations: 10.34 kB / 0.8199 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 6.824e-05/0.6192, allocations: 9.75 kB / 0.8199 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.6194, allocations: 42.61 kB / 0.8199 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.6195, allocations: 6.469 kB / 0.8199 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.6196, allocations: 25.73 kB / 0.82 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.6196, allocations: 22.64 kB / 0.82 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.6197, allocations: 5.5 kB / 0.82 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.6197, allocations: 3.594 kB / 0.82 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.6197, allocations: 14.86 kB / 0.82 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.6197, allocations: 13.38 kB / 0.82 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.6199, allocations: 44.67 kB / 0.8201 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6199, allocations: 0 / 0.8201 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6199, allocations: 0.625 kB / 0.8201 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.6199, allocations: 1.156 kB / 0.8201 GB, free: 28.07 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.0005512/0.6204, allocations: 293.9 kB / 0.8203 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6205, allocations: 10.03 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.6205, allocations: 8.891 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6206, allocations: 110.8 kB / 0.8205 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.6207, allocations: 1.406 kB / 0.8205 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.6207, allocations: 2.438 kB / 0.8205 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.6209, allocations: 82.06 kB / 0.8206 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.621, allocations: 192 / 0.8206 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.621, allocations: 4.656 kB / 0.8206 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.621, allocations: 2.281 kB / 0.8206 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.6213, allocations: 64.72 kB / 0.8206 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.6217, allocations: 239.8 kB / 0.8208 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.6219, allocations: 61.98 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6221, allocations: 39.67 kB / 0.8209 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.6221, allocations: 4.375 kB / 0.8209 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.6221, allocations: 31.72 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6221, allocations: 0 / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005862/0.6227, allocations: 128.4 kB / 0.8211 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.6227, allocations: 52.41 kB / 0.8212 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.6228, allocations: 115.7 kB / 0.8213 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6228, allocations: 25.7 kB / 0.8213 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.6229, allocations: 84.11 kB / 0.8214 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.6229, allocations: 16.5 kB / 0.8214 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.6229, allocations: 13.92 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.623, allocations: 321.7 kB / 0.8217 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6231, allocations: 30.27 kB / 0.8217 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.6233, allocations: 31.47 kB / 0.8218 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.6236, allocations: 70.56 kB / 0.8218 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6236, allocations: 3.938 kB / 0.8218 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003263/0.6239, allocations: 97.95 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6239, allocations: 6.047 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6239, allocations: 0 / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6239, allocations: 5.047 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6241, allocations: 19.7 kB / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6241, allocations: 0 / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.6242, allocations: 11.58 kB / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.6242, allocations: 5.828 kB / 0.822 GB, free: 26.51 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 5.667e-05/0.6242, allocations: 117.3 kB / 0.8221 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.6242, allocations: 6.641 kB / 0.8221 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.6243, allocations: 6.328 kB / 0.8221 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6243, allocations: 4 kB / 0.8221 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6243, allocations: 0.5625 kB / 0.8221 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6243, allocations: 4.75 kB / 0.8221 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.6244, allocations: 146.5 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6244, allocations: 0 / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.6245, allocations: 15.89 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6245, allocations: 0 / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6245, allocations: 1.547 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6245, allocations: 0 / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6245, allocations: 0.875 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.6249, allocations: 201.7 kB / 0.8225 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.6249, allocations: 10.78 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6249, allocations: 0.75 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.625, allocations: 15.36 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.6251, allocations: 7.875 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.6251, allocations: 1.125 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.6251, allocations: 88.03 kB / 0.8226 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6251, allocations: 0.5 kB / 0.8226 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002185/0.6253, allocations: 6.156 kB / 0.8226 GB, free: 25.95 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.000175/0.6255, allocations: 93.44 kB / 0.8227 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.6259, allocations: 70.58 kB / 0.8227 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6259, allocations: 0 / 0.8227 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6261, allocations: 38.05 kB / 0.8228 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.6264, allocations: 12.69 kB / 0.8228 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.6268, allocations: 126.4 kB / 0.8229 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.627, allocations: 0.6807 MB / 0.8236 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.6271, allocations: 0.5312 kB / 0.8236 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.6271, allocations: 9.469 kB / 0.8236 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6271, allocations: 0 / 0.8236 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.003791/0.6309, allocations: 0.6998 MB / 0.8243 GB, free: 24.94 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.899777293205261] Failed to read output from testmodel.py, exit status != 0: 0.6405064985156059 0.6544298860000001 0.031540519 Calling exit ...