Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.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.0008459/0.0008459, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00101/0.00101, allocations: 222.3 kB / 22.26 MB, free: 3.691 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 1.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.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.7976/0.7976, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [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.0009423/0.0009423, allocations: 70.66 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.587, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001902/0.5889, allocations: 0.6983 MB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.5896, allocations: 0.8753 MB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.5896, allocations: 0 / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.5896, allocations: 3.938 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.5897, allocations: 4.688 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.5899, allocations: 24.8 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.5899, allocations: 47.02 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.5901, allocations: 11.02 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.5901, allocations: 20.94 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.5902, allocations: 29.81 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.5902, allocations: 2.062 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.5902, allocations: 3.594 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.5902, allocations: 15.95 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.5903, allocations: 17.62 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.5904, allocations: 54.41 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5904, allocations: 3.344 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5904, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5904, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005079/0.5909, allocations: 288.4 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.591, allocations: 8.797 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.591, allocations: 32.42 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.591, allocations: 3.141 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.5912, allocations: 111.3 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5912, allocations: 6.5 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.5912, allocations: 9.5 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5914, allocations: 67.05 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.5914, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5914, allocations: 4 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5914, allocations: 2.938 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.5915, allocations: 55.62 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.592, allocations: 252.6 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.5921, allocations: 65.08 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.5922, allocations: 31.91 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.5922, allocations: 4.75 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5922, allocations: 34.56 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5922, allocations: 0 / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002731/0.5925, allocations: 114.3 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5925, allocations: 56.2 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.5926, allocations: 109.3 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5926, allocations: 25.7 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.5926, allocations: 86.5 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.5927, allocations: 14.72 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.5927, allocations: 19.66 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.5928, allocations: 318.2 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.5929, allocations: 31.64 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.5929, allocations: 22.41 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.593, allocations: 54.11 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.593, allocations: 0.5 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/0.5932, allocations: 84.78 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5932, allocations: 11 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5932, allocations: 256 / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5932, allocations: 0.75 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.5933, allocations: 16.14 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5933, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.5933, allocations: 11.92 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.5933, allocations: 6.312 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.951e-05/0.5934, allocations: 112.7 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.5934, allocations: 10.61 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.5935, allocations: 12 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5935, allocations: 2.188 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5935, allocations: 3.938 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5935, allocations: 0 / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.5936, allocations: 148.2 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5936, allocations: 0.7031 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.5936, allocations: 11.25 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5937, allocations: 0.6094 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.5937, allocations: 2.453 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.5937, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5937, allocations: 4 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.5938, allocations: 184.1 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.5939, allocations: 11.39 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.5939, allocations: 0 / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.5939, allocations: 6.766 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.594, allocations: 17.3 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.594, allocations: 0.5625 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.594, allocations: 89.89 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.594, allocations: 1.344 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000138/0.5941, allocations: 6 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003857/0.5945, allocations: 0.714 MB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.5947, allocations: 57.5 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5947, allocations: 0 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.5948, allocations: 33.06 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.595, allocations: 5.719 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5962, allocations: 1.328 MB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5964, allocations: 0.6826 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.5964, allocations: 9.656 kB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.5965, allocations: 20.75 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5965, allocations: 3.938 kB / 0.8249 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.6151, allocations: 1.935 MB / 0.8268 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/7.035, allocations: 9.172 kB / 0.8268 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.061581978807226] Failed to read output from testmodel.py, exit status != 0: 7.114930622978136 7.125784423 6.533398916 Calling exit ...