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.0007697/0.0007697, 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.0007944/0.0007944, allocations: 169.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.9092/0.9092, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7096/0.7096, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.544e-05, allocations: 5.891 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001287/0.001313, allocations: 0.602 MB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.001543, allocations: 55.8 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.00156, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.001578, allocations: 3.938 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-06/0.001587, allocations: 0 / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.001857, allocations: 23.91 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.00191, allocations: 11.98 kB / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.001962, allocations: 0 / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.001999, allocations: 19.86 kB / 0.6189 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.002047, allocations: 7.984 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.00206, allocations: 0 / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.002126, allocations: 8 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.00214, allocations: 7.984 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.002157, allocations: 11.98 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.398e-05/0.002241, allocations: 15.97 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.002245, allocations: 3.984 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.002246, allocations: 0 / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.00225, allocations: 0 / 0.6189 GB, free: 12.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000292/0.002542, allocations: 250.3 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.002584, allocations: 12.03 kB / 0.6192 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.002615, allocations: 34.75 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.002641, allocations: 0.9375 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.717e-05/0.002698, allocations: 109.7 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.002709, allocations: 4.375 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.002717, allocations: 384 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00284, allocations: 78.47 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.002847, allocations: 192 / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.002858, allocations: 4.375 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.002864, allocations: 4.125 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.002893, allocations: 11.94 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.003039, allocations: 148.3 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.003118, allocations: 93.02 kB / 0.6196 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.003151, allocations: 40.34 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.003304, allocations: 4 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.00333, allocations: 42.5 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.003331, allocations: 0 / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001774/0.003508, allocations: 69.55 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.003571, allocations: 162.2 kB / 0.6199 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.673e-05/0.003597, allocations: 90.48 kB / 0.62 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.00361, allocations: 33.64 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.003631, allocations: 84.14 kB / 0.6201 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.003667, allocations: 15.86 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.0037, allocations: 29.64 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.003781, allocations: 310.8 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.003799, allocations: 4 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.003833, allocations: 40.28 kB / 0.6205 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.003886, allocations: 48.23 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.003888, allocations: 0 / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.434e-05/0.003962, allocations: 69.55 kB / 0.6206 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.003976, allocations: 4 kB / 0.6206 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.003983, allocations: 4 kB / 0.6206 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.003994, allocations: 128 / 0.6206 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.004064, allocations: 12 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.004071, allocations: 11.88 kB / 0.6207 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.004091, allocations: 4.141 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.004099, allocations: 8 kB / 0.6207 GB, free: 10.73 MB / 0.5886 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.254e-05/0.004161, allocations: 114.8 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.004174, allocations: 7.953 kB / 0.6208 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.004329, allocations: 100.5 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.004333, allocations: 4 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.004338, allocations: 8.094 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.004342, allocations: 4 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.00443, allocations: 132.7 kB / 0.621 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.004431, allocations: 0 / 0.621 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.004466, allocations: 15.94 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.004469, allocations: 4 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.004476, allocations: 0 / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.004478, allocations: 7.984 kB / 0.6211 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.004481, allocations: 3.938 kB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.004587, allocations: 124.4 kB / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.004594, allocations: 8 kB / 0.6212 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.004606, allocations: 7.984 kB / 0.6212 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.004623, allocations: 8 kB / 0.6212 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.004642, allocations: 11.88 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.004648, allocations: 8 kB / 0.6212 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.004673, allocations: 75.38 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004673, allocations: 3.938 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001645/0.004838, allocations: 11.92 kB / 0.6213 GB, free: 9.988 MB / 0.5886 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.0003567/0.005194, allocations: 0.6548 MB / 0.622 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.0053, allocations: 43.8 kB / 0.622 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.005303, allocations: 0 / 0.622 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.005324, allocations: 23.94 kB / 0.622 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.005442, allocations: 4 kB / 0.622 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.005764, allocations: 170 kB / 0.6222 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.005808, allocations: 63.97 kB / 0.6222 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.005836, allocations: 8.25 kB / 0.6223 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.005873, allocations: 24.42 kB / 0.6223 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of SimCode: time 4.6e-07/0.005873, allocations: 0 / 0.6223 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.02387, allocations: 2.053 MB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.676, allocations: 3.75 kB / 0.6243 GB, free: 6.961 MB / 0.5886 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: 9.349077114835382] Failed to read output from testmodel.py, exit status != 0: 6.759067578241229 6.770632107 6.765835991 Calling exit ...