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.0008141/0.0008141, 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.0008221/0.0008221, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9269/0.9269, 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.7986/0.7986, 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.001016/0.001016, allocations: 71.8 kB / 0.7178 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6202, allocations: 102 MB / 0.8174 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001531/0.6217, allocations: 0.5987 MB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.6219, allocations: 59.91 kB / 0.8181 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.6219, allocations: 1.906 kB / 0.8181 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.622, allocations: 3.938 kB / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-06/0.622, allocations: 0 / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.6223, allocations: 21.89 kB / 0.8181 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.6223, allocations: 15 kB / 0.8181 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.6224, allocations: 5.266 kB / 0.8181 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.6224, allocations: 9.188 kB / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.6225, allocations: 6.219 kB / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.6225, allocations: 0 / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.6225, allocations: 17.84 kB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.6226, allocations: 8.531 kB / 0.8182 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.6226, allocations: 2.844 kB / 0.8182 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.6227, allocations: 26.39 kB / 0.8182 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6227, allocations: 0 / 0.8182 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6227, allocations: 0 / 0.8182 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6227, allocations: 0 / 0.8182 GB, free: 0.7578 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.0003218/0.623, allocations: 250.8 kB / 0.8184 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6231, allocations: 11.22 kB / 0.8184 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.6231, allocations: 31.55 kB / 0.8185 GB, free: 468 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.6231, allocations: 4.938 kB / 0.8185 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.559e-05/0.6232, allocations: 105.1 kB / 0.8186 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6232, allocations: 6.219 kB / 0.8186 GB, free: 332 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.6232, allocations: 1.172 kB / 0.8186 GB, free: 332 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6233, allocations: 74.84 kB / 0.8186 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6233, allocations: 3.938 kB / 0.8186 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.6234, allocations: 0.7031 kB / 0.8186 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6234, allocations: 7.109 kB / 0.8187 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.6234, allocations: 15.38 kB / 0.8187 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.6235, allocations: 156.1 kB / 0.8188 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.6236, allocations: 100.3 kB / 0.8189 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.6237, allocations: 37.58 kB / 0.8189 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.6238, allocations: 10.34 kB / 0.819 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.6239, allocations: 43.55 kB / 0.819 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.6239, allocations: 0 / 0.819 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002072/0.6241, allocations: 71.67 kB / 0.8191 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.6242, allocations: 165.7 kB / 0.8192 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.821e-05/0.6242, allocations: 94.56 kB / 0.8193 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6242, allocations: 25.7 kB / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.6242, allocations: 81.39 kB / 0.8194 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.6243, allocations: 14.55 kB / 0.8194 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.6243, allocations: 21 kB / 0.8195 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.6244, allocations: 316.3 kB / 0.8198 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.6244, allocations: 5.938 kB / 0.8198 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.6244, allocations: 34.59 kB / 0.8198 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.6245, allocations: 57.34 kB / 0.8198 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6245, allocations: 3.938 kB / 0.8199 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.502e-05/0.6246, allocations: 63.75 kB / 0.8199 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6246, allocations: 3.531 kB / 0.8199 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6246, allocations: 7.812 kB / 0.8199 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6246, allocations: 0.8906 kB / 0.8199 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.6247, allocations: 9.156 kB / 0.8199 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6247, allocations: 5.688 kB / 0.8199 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.6247, allocations: 2.906 kB / 0.8199 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6247, allocations: 3.391 kB / 0.8199 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 7.34e-05/0.6248, allocations: 122.1 kB / 0.8201 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.6248, allocations: 3.188 kB / 0.8201 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.625, allocations: 109.2 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.625, allocations: 2.406 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.625, allocations: 0 / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.625, allocations: 1.906 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6251, allocations: 136.8 kB / 0.8203 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6251, allocations: 2.531 kB / 0.8203 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.6251, allocations: 14.36 kB / 0.8203 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6251, allocations: 4.625 kB / 0.8203 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6251, allocations: 8.062 kB / 0.8203 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6251, allocations: 10.12 kB / 0.8203 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6251, allocations: 2 kB / 0.8203 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.6252, allocations: 124.7 kB / 0.8205 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.6252, allocations: 9.453 kB / 0.8205 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.6253, allocations: 11.27 kB / 0.8205 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.6253, allocations: 0 / 0.8205 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.6253, allocations: 8.281 kB / 0.8205 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.6253, allocations: 3.625 kB / 0.8205 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.6253, allocations: 76.17 kB / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.6253, allocations: 0 / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001477/0.6255, allocations: 13.72 kB / 0.8206 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.0003898/0.6259, allocations: 0.6604 MB / 0.8212 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.626, allocations: 32.94 kB / 0.8213 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.626, allocations: 0 / 0.8213 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.626, allocations: 26.3 kB / 0.8213 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.0001255/0.6261, allocations: 15.25 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.6265, allocations: 178.4 kB / 0.8215 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.6266, allocations: 73.67 kB / 0.8215 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.6266, allocations: 6.109 kB / 0.8215 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.6266, allocations: 12.25 kB / 0.8216 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.6266, allocations: 0 / 0.8216 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.642, allocations: 1.918 MB / 0.8234 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.356/6.998, allocations: 13.91 kB / 0.8234 GB, free: 12.44 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.091393047943711] Failed to read output from testmodel.py, exit status != 0: 7.082785725127906 7.093195107 6.468458259 Calling exit ...