Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007457/0.0007457, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008123/0.0008123, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9483/0.9483, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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-531:686: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-531:694: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.7952/0.7952, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_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.001746/0.001746, allocations: 70.7 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5104, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001509/0.5119, allocations: 0.6046 MB / 0.818 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.5122, allocations: 56.36 kB / 0.8181 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.5123, allocations: 0 / 0.8181 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.5123, allocations: 0 / 0.8181 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.092e-05/0.5123, allocations: 7.938 kB / 0.8181 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.5126, allocations: 20.3 kB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.5127, allocations: 6.234 kB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.5127, allocations: 11.64 kB / 0.8181 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.5128, allocations: 6.922 kB / 0.8181 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.5128, allocations: 10.5 kB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.5128, allocations: 1.219 kB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.5129, allocations: 9.359 kB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.5129, allocations: 7.531 kB / 0.8181 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.5129, allocations: 13.56 kB / 0.8182 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.513, allocations: 19.52 kB / 0.8182 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.513, allocations: 4 kB / 0.8182 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.513, allocations: 0 / 0.8182 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.513, allocations: 0 / 0.8182 GB, free: 0.7891 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.0002756/0.5133, allocations: 247.2 kB / 0.8184 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5134, allocations: 9.875 kB / 0.8184 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.5134, allocations: 39.39 kB / 0.8185 GB, free: 496 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5134, allocations: 9.406 kB / 0.8185 GB, free: 492 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.337e-05/0.5134, allocations: 103.2 kB / 0.8186 GB, free: 364 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5135, allocations: 4.375 kB / 0.8186 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.5135, allocations: 2.656 kB / 0.8186 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5136, allocations: 78.08 kB / 0.8187 GB, free: 276 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5136, allocations: 3.938 kB / 0.8187 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.5136, allocations: 1.5 kB / 0.8187 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5136, allocations: 0 / 0.8187 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.5136, allocations: 13.88 kB / 0.8187 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.5137, allocations: 156.7 kB / 0.8188 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.5138, allocations: 98.06 kB / 0.8189 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.5138, allocations: 40.03 kB / 0.819 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.514, allocations: 11 kB / 0.819 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.514, allocations: 39.09 kB / 0.819 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.514, allocations: 0 / 0.819 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001772/0.5142, allocations: 75.45 kB / 0.8191 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.5143, allocations: 156.5 kB / 0.8192 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.5143, allocations: 89.86 kB / 0.8193 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5143, allocations: 27.86 kB / 0.8193 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.5143, allocations: 80.77 kB / 0.8194 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.5144, allocations: 24.92 kB / 0.8194 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.5144, allocations: 18.2 kB / 0.8195 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5145, allocations: 315 kB / 0.8198 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.5146, allocations: 8.438 kB / 0.8198 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.5146, allocations: 35.64 kB / 0.8198 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.5147, allocations: 46.34 kB / 0.8198 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5147, allocations: 0 / 0.8198 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001022/0.5148, allocations: 70.19 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5148, allocations: 6.969 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5148, allocations: 6.375 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5148, allocations: 4 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.5149, allocations: 12.94 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5149, allocations: 0.7031 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.5149, allocations: 2.438 kB / 0.8199 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.5149, allocations: 3.062 kB / 0.8199 GB, free: 14.89 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 8.286e-05/0.515, allocations: 121.2 kB / 0.8201 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.515, allocations: 8.047 kB / 0.8201 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.5152, allocations: 105.3 kB / 0.8202 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5153, allocations: 0 / 0.8202 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5153, allocations: 3.844 kB / 0.8202 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5153, allocations: 0.7656 kB / 0.8202 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.5154, allocations: 151 kB / 0.8203 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5154, allocations: 0 / 0.8203 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.5154, allocations: 15.73 kB / 0.8203 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5154, allocations: 0 / 0.8203 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5155, allocations: 6.922 kB / 0.8203 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5155, allocations: 2.969 kB / 0.8203 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5155, allocations: 0.9688 kB / 0.8203 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.5156, allocations: 126.1 kB / 0.8205 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.5156, allocations: 7.969 kB / 0.8205 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5156, allocations: 14.05 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.5156, allocations: 6.5 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.5156, allocations: 6.641 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.5156, allocations: 4.156 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.5157, allocations: 75.28 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5157, allocations: 0 / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001447/0.5158, allocations: 11.34 kB / 0.8206 GB, free: 14.3 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.0003682/0.5162, allocations: 0.6575 MB / 0.8212 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5163, allocations: 39.72 kB / 0.8213 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5163, allocations: 0 / 0.8213 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.5163, allocations: 25.41 kB / 0.8213 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.5165, allocations: 3.891 kB / 0.8213 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.5168, allocations: 178.9 kB / 0.8215 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.5169, allocations: 68.67 kB / 0.8215 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.5169, allocations: 10.12 kB / 0.8215 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.5169, allocations: 17.23 kB / 0.8215 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5169, allocations: 0 / 0.8215 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.5333, allocations: 1.919 MB / 0.8234 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/7.225, allocations: 1.719 kB / 0.8234 GB, free: 12.49 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.151625855825841] Failed to read output from testmodel.py, exit status != 0: 7.3063721167854965 7.323596504 6.807621046 Calling exit ...