Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001025/0.001025, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009458/0.001971, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007352/0.0007352, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001741, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9791/0.9791, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.08, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7978/0.7978, allocations: 154.6 MB / 398.5 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 NFInstanceAPI.mkTop(): time 0.2833/1.081, allocations: 49.04 MB / 447.6 MB, free: 6.723 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.837e-05, allocations: 5.266 kB / 448.9 MB, free: 5.434 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001969/0.001997, allocations: 0.8119 MB / 449.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.00309, allocations: 0.9127 MB / 450.6 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.003136, allocations: 0.625 kB / 450.6 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.003168, allocations: 7.922 kB / 450.6 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.003229, allocations: 12.2 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.003333, allocations: 44.88 kB / 450.7 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.006465, allocations: 73.92 kB / 450.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.006567, allocations: 33.86 kB / 450.8 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.006702, allocations: 64.77 kB / 450.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.006784, allocations: 39.33 kB / 450.9 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.006814, allocations: 8 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.006829, allocations: 8 kB / 450.9 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.006853, allocations: 11.39 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.00689, allocations: 21.27 kB / 450.9 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.007012, allocations: 52.39 kB / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.00703, allocations: 0 / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007032, allocations: 1.125 kB / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.007048, allocations: 0 / 451 MB, free: 3.402 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004364/0.007484, allocations: 295.1 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.007523, allocations: 12.03 kB / 451.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.007557, allocations: 10.27 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.007647, allocations: 121.7 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.007667, allocations: 384 / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.007679, allocations: 4.375 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.007838, allocations: 101.4 kB / 451.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.007847, allocations: 3.938 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.007855, allocations: 0 / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.007863, allocations: 4 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.007915, allocations: 16.59 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.008232, allocations: 201 kB / 451.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.008488, allocations: 59.86 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.008527, allocations: 26.47 kB / 451.8 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.008541, allocations: 0 / 451.8 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.008564, allocations: 34.56 kB / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.008565, allocations: 1.094 kB / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001619/0.008726, allocations: 66.52 kB / 451.9 MB, free: 2.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.008759, allocations: 55.34 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.008831, allocations: 127.7 kB / 452.1 MB, free: 2.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.008843, allocations: 25.7 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.008883, allocations: 100.1 kB / 452.2 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.008905, allocations: 15.86 kB / 452.2 MB, free: 2.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.00895, allocations: 25.69 kB / 452.3 MB, free: 2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.009038, allocations: 322.8 kB / 452.6 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.009058, allocations: 5.344 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.009083, allocations: 16.05 kB / 452.6 MB, free: 1.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.009139, allocations: 24.84 kB / 452.6 MB, free: 1.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009142, allocations: 4.438 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003107/0.01225, allocations: 72.34 kB / 452.7 MB, free: 1.551 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01226, allocations: 4 kB / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01227, allocations: 0 / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.01228, allocations: 0 / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01238, allocations: 24.88 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01238, allocations: 3.938 kB / 452.7 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.01243, allocations: 8.688 kB / 452.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.01244, allocations: 11.98 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.354e-05/0.01251, allocations: 114.4 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.01253, allocations: 5.312 kB / 452.9 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.01256, allocations: 8.438 kB / 452.9 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01256, allocations: 7.984 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01256, allocations: 0.5312 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01257, allocations: 3.828 kB / 452.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.01271, allocations: 93.83 kB / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01271, allocations: 0 / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.01278, allocations: 29 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.01279, allocations: 3.938 kB / 453 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.0128, allocations: 4 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.0128, allocations: 1.031 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01281, allocations: 0 / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01281, allocations: 0 / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01294, allocations: 160.8 kB / 453.2 MB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.01295, allocations: 4 kB / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.01302, allocations: 4.844 kB / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.01308, allocations: 23.97 kB / 453.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01308, allocations: 3.984 kB / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.01311, allocations: 18.3 kB / 453.2 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01311, allocations: 0 / 453.2 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01329, allocations: 15.95 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000104/0.01339, allocations: 85.19 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.01349, allocations: 37.61 kB / 453.4 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.0135, allocations: 8.875 kB / 453.4 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.01354, allocations: 28.78 kB / 453.4 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01373, allocations: 21.05 kB / 453.4 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.0142, allocations: 171.1 kB / 453.6 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.01424, allocations: 59.34 kB / 453.6 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.974e-05/0.0143, allocations: 23.61 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.01438, allocations: 67.89 kB / 453.7 MB, free: 440 kB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01438, allocations: 0 / 453.7 MB, free: 440 kB / 426.7 MB Notification: Performance of Templates: time 0.005784/0.02017, allocations: 1.738 MB / 455.5 MB, free: 14.8 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.567173312418163]