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.001349/0.001349, allocations: 68.47 kB / 19.02 MB, free: 1.125 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.001565/0.001565, allocations: 159.2 kB / 22.29 MB, free: 3.523 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.419/1.419, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.239/1.239, allocations: 154.7 MB / 413.8 MB, free: 3.133 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. " [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.002108/0.002108, allocations: 66.58 kB / 0.6181 GB, free: 1.059 MB / 0.5105 GB [/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 FrontEnd - Absyn->SCode: time 0.2059/0.2081, allocations: 102 MB / 0.7177 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.00178/0.2098, allocations: 0.6068 MB / 0.7183 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002783/0.2101, allocations: 56.22 kB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.2101, allocations: 0 / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.2101, allocations: 3.938 kB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.2102, allocations: 0 / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.2104, allocations: 31.91 kB / 0.7184 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.2105, allocations: 7.984 kB / 0.7184 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.2105, allocations: 7.938 kB / 0.7184 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.2105, allocations: 11.98 kB / 0.7184 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.2106, allocations: 4 kB / 0.7184 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2106, allocations: 0 / 0.7184 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.2107, allocations: 15.97 kB / 0.7184 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2107, allocations: 4 kB / 0.7184 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.2107, allocations: 3.938 kB / 0.7184 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.2108, allocations: 24.19 kB / 0.7185 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2108, allocations: 4 kB / 0.7185 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.566e-06/0.2108, allocations: 3.984 kB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2108, allocations: 0 / 0.7185 GB, free: 10.4 MB / 0.6198 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.0004151/0.2112, allocations: 254.3 kB / 0.7187 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2113, allocations: 11.97 kB / 0.7187 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.2113, allocations: 34.75 kB / 0.7188 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2113, allocations: 4.938 kB / 0.7188 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2115, allocations: 102.5 kB / 0.7189 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2115, allocations: 4.375 kB / 0.7189 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.2115, allocations: 4.375 kB / 0.7189 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2117, allocations: 82.47 kB / 0.7189 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2117, allocations: 3.938 kB / 0.719 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2117, allocations: 0 / 0.719 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2117, allocations: 4 kB / 0.719 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.2117, allocations: 7.938 kB / 0.719 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.212, allocations: 152.2 kB / 0.7191 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2122, allocations: 97.17 kB / 0.7192 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.2122, allocations: 36.28 kB / 0.7192 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.2124, allocations: 4 kB / 0.7192 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.2124, allocations: 42.5 kB / 0.7193 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2124, allocations: 0 / 0.7193 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002751/0.2127, allocations: 77.48 kB / 0.7194 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.2129, allocations: 154.2 kB / 0.7195 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.2129, allocations: 89.86 kB / 0.7196 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2129, allocations: 29.7 kB / 0.7196 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.213, allocations: 80.14 kB / 0.7197 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.2131, allocations: 20.42 kB / 0.7197 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2131, allocations: 21.7 kB / 0.7197 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2133, allocations: 318.8 kB / 0.72 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.2133, allocations: 4 kB / 0.72 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.2133, allocations: 44.16 kB / 0.7201 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/0.2134, allocations: 44.23 kB / 0.7201 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2134, allocations: 4 kB / 0.7201 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001158/0.2135, allocations: 69.61 kB / 0.7202 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2136, allocations: 4 kB / 0.7202 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2136, allocations: 7.922 kB / 0.7202 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2136, allocations: 4 kB / 0.7202 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.2137, allocations: 11.94 kB / 0.7202 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2137, allocations: 7.922 kB / 0.7202 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.2137, allocations: 4 kB / 0.7202 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.2137, allocations: 0 / 0.7202 GB, free: 8.273 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 9.663e-05/0.2138, allocations: 113.8 kB / 0.7203 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.2139, allocations: 8.156 kB / 0.7203 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2141, allocations: 100.6 kB / 0.7204 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2141, allocations: 0 / 0.7204 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2141, allocations: 4 kB / 0.7204 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2141, allocations: 3.938 kB / 0.7205 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.2143, allocations: 148.6 kB / 0.7206 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2143, allocations: 4.156 kB / 0.7206 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.2143, allocations: 12 kB / 0.7206 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2143, allocations: 4 kB / 0.7206 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2143, allocations: 7.922 kB / 0.7206 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2143, allocations: 4 kB / 0.7206 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2143, allocations: 0 / 0.7206 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.2145, allocations: 120.5 kB / 0.7207 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.2145, allocations: 3.953 kB / 0.7207 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2145, allocations: 11.92 kB / 0.7208 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.2146, allocations: 4 kB / 0.7208 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.2146, allocations: 11.94 kB / 0.7208 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2146, allocations: 4 kB / 0.7208 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.2147, allocations: 79.27 kB / 0.7208 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2147, allocations: 0 / 0.7208 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002058/0.2149, allocations: 8 kB / 0.7209 GB, free: 7.547 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.000554/0.2154, allocations: 0.6626 MB / 0.7215 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2155, allocations: 36.11 kB / 0.7215 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2155, allocations: 4.062 kB / 0.7215 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.2156, allocations: 19.94 kB / 0.7216 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.2157, allocations: 14.02 kB / 0.7216 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.2162, allocations: 173.8 kB / 0.7217 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.463e-05/0.2163, allocations: 67.34 kB / 0.7218 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.2163, allocations: 12.31 kB / 0.7218 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.2164, allocations: 24.42 kB / 0.7218 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2164, allocations: 0 / 0.7218 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.2476, allocations: 2.034 MB / 0.7238 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.33, allocations: 4.578 kB / 0.7238 GB, free: 4.488 MB / 0.6198 GB " [Timeout remaining time 649] (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: 15.318674012989504] Failed to read output from testmodel.py, exit status != 0: 11.44524767198891 11.473349913 11.25751526 Calling exit ...