Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.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.001117/0.001117, 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.0009271/0.0009271, allocations: 218.9 kB / 22.25 MB, free: 3.699 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.015/1.015, allocations: 230.6 MB / 256 MB, free: 9.801 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.8149/0.8149, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round",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.0008862/0.0008862, allocations: 78.58 kB / 0.7183 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.539, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001427/0.5405, allocations: 0.6068 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.5407, allocations: 60.81 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.5407, allocations: 0 / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.5407, allocations: 0 / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.689e-06/0.5408, allocations: 0 / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.541, allocations: 24.92 kB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.5411, allocations: 16.03 kB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.5411, allocations: 1.125 kB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.5411, allocations: 10.86 kB / 0.8186 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.5412, allocations: 8.125 kB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.5412, allocations: 0 / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.5413, allocations: 18.03 kB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.5413, allocations: 2.672 kB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.5413, allocations: 10.86 kB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.5414, allocations: 24.5 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5414, allocations: 0 / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5414, allocations: 4 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5414, allocations: 3.938 kB / 0.8187 GB, free: 0.7695 MB / 0.6042 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.0002489/0.5417, allocations: 254.1 kB / 0.8189 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5417, allocations: 10.47 kB / 0.8189 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.235e-05/0.5417, allocations: 35.55 kB / 0.819 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.5417, allocations: 4.594 kB / 0.819 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.391e-05/0.5418, allocations: 103.1 kB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.5418, allocations: 2.969 kB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.5418, allocations: 384 / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.5419, allocations: 81.86 kB / 0.8192 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5419, allocations: 4.734 kB / 0.8192 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.5419, allocations: 0 / 0.8192 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5419, allocations: 3.984 kB / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.542, allocations: 12.89 kB / 0.8192 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.656e-05/0.5421, allocations: 163.1 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.5421, allocations: 96.67 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.5422, allocations: 36.55 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.5423, allocations: 6.797 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5423, allocations: 38.84 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5423, allocations: 0 / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001727/0.5425, allocations: 79.58 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.5426, allocations: 154.2 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.901e-05/0.5426, allocations: 90.8 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.5426, allocations: 27.67 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.5426, allocations: 80.77 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.5427, allocations: 18.64 kB / 0.8199 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.5427, allocations: 23.56 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.5428, allocations: 313.5 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.5428, allocations: 5.172 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.5428, allocations: 39.66 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.5429, allocations: 48.88 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5429, allocations: 3.5 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.215e-05/0.543, allocations: 59.91 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.543, allocations: 8.828 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.543, allocations: 5 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.543, allocations: 6.625 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.5431, allocations: 17.45 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5431, allocations: 6.594 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.5431, allocations: 1.125 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.5431, allocations: 4.266 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.067e-05/0.5432, allocations: 114.4 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.5432, allocations: 0.9375 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.5433, allocations: 112 kB / 0.8207 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5433, allocations: 2.688 kB / 0.8207 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5433, allocations: 5.281 kB / 0.8207 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5434, allocations: 3.828 kB / 0.8207 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5435, allocations: 141 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5435, allocations: 3.312 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.5435, allocations: 18.05 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5435, allocations: 4.641 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.5435, allocations: 3.938 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5435, allocations: 2.5 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5435, allocations: 1.094 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.5436, allocations: 124.1 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.5436, allocations: 11.47 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.5436, allocations: 6.312 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.5436, allocations: 1.562 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.5437, allocations: 15.25 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5437, allocations: 4.031 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.5437, allocations: 75.28 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5437, allocations: 4 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00014/0.5438, allocations: 12.47 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0003275/0.5442, allocations: 0.657 MB / 0.8217 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.5443, allocations: 35.19 kB / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5443, allocations: 0 / 0.8218 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.5443, allocations: 26.36 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.5444, allocations: 5.234 kB / 0.8218 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.5447, allocations: 174.6 kB / 0.822 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.5449, allocations: 0.6884 MB / 0.8226 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.5449, allocations: 13.52 kB / 0.8226 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.5449, allocations: 19.95 kB / 0.8227 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.5449, allocations: 3.781 kB / 0.8227 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.5614, allocations: 1.554 MB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.388/6.949, allocations: 6.5 kB / 0.8242 GB, free: 12.25 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.974859485868365] Failed to read output from testmodel.py, exit status != 0: 7.026052178116515 7.041607633 6.497287978 Calling exit ...