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.0007771/0.0007771, 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.0008102/0.0008102, 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.9105/0.9105, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7248/0.7248, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/2.047e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001294/0.001315, allocations: 0.6147 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.001552, allocations: 55.73 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.001569, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.001584, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-06/0.001592, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.001846, allocations: 27.91 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.001895, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.001938, allocations: 3.984 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.00197, allocations: 11.92 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.002014, allocations: 8 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.002027, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.002093, allocations: 11.98 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.002111, allocations: 4 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.002129, allocations: 7.969 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.002221, allocations: 15.98 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002223, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002224, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.00223, allocations: 0 / 0.6189 GB, free: 12.89 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.000317/0.002547, allocations: 258.3 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.002584, allocations: 17.41 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.002613, allocations: 34.73 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.002633, allocations: 0.9375 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.538e-05/0.002689, allocations: 109.8 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.002699, allocations: 384 / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.002708, allocations: 8.359 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.00281, allocations: 70.48 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.002817, allocations: 192 / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.002825, allocations: 384 / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.002831, allocations: 4.125 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.002863, allocations: 23.92 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.002986, allocations: 148.3 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.003065, allocations: 96.97 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.003094, allocations: 32.42 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.003218, allocations: 11.98 kB / 0.6196 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003237, allocations: 34.56 kB / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.003238, allocations: 0 / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001501/0.003388, allocations: 78.06 kB / 0.6197 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.003443, allocations: 170.1 kB / 0.6199 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/0.003467, allocations: 89.86 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.003476, allocations: 25.7 kB / 0.62 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.003494, allocations: 84.14 kB / 0.6201 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.003524, allocations: 11.91 kB / 0.6201 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.003553, allocations: 25.7 kB / 0.6201 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.003626, allocations: 310.8 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.003639, allocations: 4 kB / 0.6204 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.003664, allocations: 40.28 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.003716, allocations: 52.17 kB / 0.6205 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003718, allocations: 0 / 0.6205 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.52e-05/0.003783, allocations: 61.62 kB / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.003796, allocations: 8 kB / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.003802, allocations: 3.984 kB / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.003812, allocations: 160 / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.003867, allocations: 15.94 kB / 0.6206 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.003873, allocations: 12 kB / 0.6206 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.003891, allocations: 7.938 kB / 0.6206 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.003899, allocations: 4 kB / 0.6206 GB, free: 10.75 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 5.697e-05/0.003956, allocations: 114.8 kB / 0.6207 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.003965, allocations: 7.953 kB / 0.6207 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.004108, allocations: 96.55 kB / 0.6208 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.004111, allocations: 3.984 kB / 0.6208 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.004118, allocations: 7.938 kB / 0.6208 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004121, allocations: 0 / 0.6208 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.004211, allocations: 132.8 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.004213, allocations: 4 kB / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.004245, allocations: 15.98 kB / 0.621 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004247, allocations: 3.938 kB / 0.621 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.004259, allocations: 4 kB / 0.621 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00426, allocations: 160 / 0.621 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.004262, allocations: 11.94 kB / 0.621 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.517e-05/0.004358, allocations: 120.4 kB / 0.6211 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.004365, allocations: 7.938 kB / 0.6211 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.004375, allocations: 8 kB / 0.6211 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.004389, allocations: 0 / 0.6211 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.004406, allocations: 12.02 kB / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.004411, allocations: 11.94 kB / 0.6212 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.00443, allocations: 75.28 kB / 0.6212 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00443, allocations: 0 / 0.6212 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000142/0.004572, allocations: 12 kB / 0.6212 GB, free: 10.02 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.0002792/0.004851, allocations: 0.6509 MB / 0.6219 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.544e-05/0.004947, allocations: 43.86 kB / 0.6219 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.004949, allocations: 4 kB / 0.6219 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.00497, allocations: 19.92 kB / 0.6219 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.005084, allocations: 10.81 kB / 0.622 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.00537, allocations: 178 kB / 0.6221 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.00541, allocations: 63.34 kB / 0.6222 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.005436, allocations: 8 kB / 0.6222 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.005465, allocations: 20.42 kB / 0.6222 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.005466, allocations: 4 kB / 0.6222 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02017, allocations: 2.05 MB / 0.6242 GB, free: 7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.82, allocations: 14.17 kB / 0.6242 GB, free: 6.996 MB / 0.5886 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.622874876484275] Failed to read output from testmodel.py, exit status != 0: 6.898277840577066 6.906746609 6.902772147 Calling exit ...