Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008175/0.0008175, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001039/0.001039, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9201/0.9201, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7672/0.7672, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.354e-05, allocations: 6.75 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00148/0.001503, allocations: 0.7527 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.002424, allocations: 0.8781 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.002475, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.002512, allocations: 7.922 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.808e-05/0.0026, allocations: 7.875 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002785, allocations: 47.88 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.002902, allocations: 87.77 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003034, allocations: 31.91 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.003136, allocations: 43.91 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.003206, allocations: 35.94 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.003234, allocations: 8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.003248, allocations: 8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.003276, allocations: 27.91 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.003306, allocations: 19.92 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003438, allocations: 103.6 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003441, allocations: 0 / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003442, allocations: 4 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003446, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB 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.0006534/0.0041, allocations: 314.1 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.004151, allocations: 9.469 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.004191, allocations: 34.75 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.004242, allocations: 12.89 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004364, allocations: 117.7 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.004382, allocations: 4.375 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.004398, allocations: 8.375 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.004623, allocations: 117.3 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004632, allocations: 3.938 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.004642, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004648, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.00486, allocations: 103.8 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.005288, allocations: 291.8 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.005663, allocations: 122.5 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.005772, allocations: 52.81 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.005794, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005818, allocations: 34.56 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.005819, allocations: 0 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000421/0.00624, allocations: 189.4 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.006275, allocations: 51.41 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.006356, allocations: 121.8 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.00637, allocations: 29.69 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.006416, allocations: 92.14 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.006438, allocations: 19.8 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.006479, allocations: 29.7 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.006567, allocations: 326.7 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.006668, allocations: 43.95 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.006763, allocations: 43.95 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.00695, allocations: 104.8 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006952, allocations: 0 / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002417/0.007193, allocations: 138 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.00721, allocations: 8 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007215, allocations: 0 / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.00723, allocations: 0 / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.007318, allocations: 23.97 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.007326, allocations: 8.062 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.007381, allocations: 15.97 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.007389, allocations: 3.938 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB 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 8.149e-05/0.007471, allocations: 118.8 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007489, allocations: 11.89 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.007518, allocations: 12.44 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007521, allocations: 0 / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.007528, allocations: 0 / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.007534, allocations: 3.984 kB / 0.6226 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.007699, allocations: 168.6 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007701, allocations: 0 / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.007779, allocations: 31.91 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.007782, allocations: 3.984 kB / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.007792, allocations: 0 / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007794, allocations: 0 / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007796, allocations: 0 / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.008089, allocations: 243.3 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.008103, allocations: 3.953 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008119, allocations: 4 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.008183, allocations: 11.97 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.008247, allocations: 23.97 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.008252, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.008296, allocations: 100.7 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008296, allocations: 0 / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001557/0.008452, allocations: 15.94 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB 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.0004874/0.00894, allocations: 0.767 MB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.009201, allocations: 107.8 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009203, allocations: 0 / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.009314, allocations: 59.95 kB / 0.6241 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.009619, allocations: 18.11 kB / 0.6241 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.01101, allocations: 1.533 MB / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.01106, allocations: 79.27 kB / 0.6256 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.01111, allocations: 15.98 kB / 0.6257 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.01118, allocations: 28.48 kB / 0.6257 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.01118, allocations: 0 / 0.6257 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03045, allocations: 3.486 MB / 0.6291 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.958, allocations: 8.156 kB / 0.6291 GB, free: 2.195 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.764317375607789] Failed to read output from testmodel.py, exit status != 0: 7.04108960647136 7.056449977 7.050226527 Calling exit ...