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.0008459/0.0008459, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009367/0.0009367, allocations: 208.1 kB / 22.25 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.978/0.978, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.7986/0.7986, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.001008/0.001008, allocations: 78.03 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6347, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001277/0.636, allocations: 0.6038 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001933/0.6362, allocations: 51.91 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.6362, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.6362, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.6362, allocations: 3.938 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.6365, allocations: 23.66 kB / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.6365, allocations: 12.3 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.6365, allocations: 1.5 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.6366, allocations: 8.578 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.6366, allocations: 14.72 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.6366, allocations: 0 / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.6367, allocations: 16.5 kB / 0.8186 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.6367, allocations: 8.594 kB / 0.8186 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.6367, allocations: 0.6562 kB / 0.8186 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.381e-05/0.6368, allocations: 24.19 kB / 0.8186 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6368, allocations: 3.25 kB / 0.8186 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6368, allocations: 0 / 0.8186 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6368, allocations: 0 / 0.8186 GB, free: 0.5977 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.0002103/0.637, allocations: 249.3 kB / 0.8188 GB, free: 344 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.637, allocations: 13.31 kB / 0.8188 GB, free: 340 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.6371, allocations: 36.64 kB / 0.8189 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.712e-05/0.6371, allocations: 2.719 kB / 0.8189 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.056e-05/0.6371, allocations: 108.2 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.6371, allocations: 2.406 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.6371, allocations: 2.969 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.6372, allocations: 73.02 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6372, allocations: 7.875 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.6372, allocations: 5.641 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6372, allocations: 0.9844 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.6373, allocations: 17.03 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.6374, allocations: 163.9 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.6375, allocations: 91.25 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.6375, allocations: 40.19 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.6376, allocations: 4.531 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6376, allocations: 35.78 kB / 0.8194 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.6376, allocations: 0 / 0.8194 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001423/0.6378, allocations: 79.92 kB / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.6378, allocations: 161.8 kB / 0.8196 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.6379, allocations: 91.02 kB / 0.8197 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.6379, allocations: 25.7 kB / 0.8198 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.6379, allocations: 83.02 kB / 0.8198 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.6379, allocations: 17.45 kB / 0.8199 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.6379, allocations: 19.62 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.638, allocations: 312.9 kB / 0.8202 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.638, allocations: 4.547 kB / 0.8202 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.6381, allocations: 39.3 kB / 0.8202 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.6381, allocations: 53.8 kB / 0.8203 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6381, allocations: 7.875 kB / 0.8203 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.447e-05/0.6382, allocations: 58.28 kB / 0.8203 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6382, allocations: 5.406 kB / 0.8203 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6382, allocations: 8.594 kB / 0.8203 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6382, allocations: 4.156 kB / 0.8203 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.6383, allocations: 16.31 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6383, allocations: 3.016 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.6383, allocations: 2.219 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.6383, allocations: 3.734 kB / 0.8204 GB, free: 14.68 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 5.243e-05/0.6383, allocations: 113.3 kB / 0.8205 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.6383, allocations: 5.875 kB / 0.8205 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.6385, allocations: 107.7 kB / 0.8206 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6385, allocations: 0 / 0.8206 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6385, allocations: 1.625 kB / 0.8206 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6385, allocations: 6.578 kB / 0.8206 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.6386, allocations: 140.3 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6386, allocations: 1.094 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.6386, allocations: 20 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6386, allocations: 3.812 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.6386, allocations: 3.938 kB / 0.8208 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6386, allocations: 6.156 kB / 0.8208 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6386, allocations: 2.719 kB / 0.8208 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.695e-05/0.6387, allocations: 122.4 kB / 0.8209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-06/0.6387, allocations: 7.141 kB / 0.8209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.6387, allocations: 6.344 kB / 0.8209 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.6387, allocations: 2.25 kB / 0.8209 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.6388, allocations: 14.08 kB / 0.8209 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.6388, allocations: 5.438 kB / 0.8209 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.6388, allocations: 75.28 kB / 0.821 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6388, allocations: 0 / 0.821 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001329/0.6389, allocations: 14.34 kB / 0.821 GB, free: 14.1 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.0002827/0.6392, allocations: 0.662 MB / 0.8216 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.6393, allocations: 30.7 kB / 0.8217 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6393, allocations: 1.875 kB / 0.8217 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.6393, allocations: 28.61 kB / 0.8217 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.6394, allocations: 8.562 kB / 0.8217 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.6397, allocations: 180.1 kB / 0.8219 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.6398, allocations: 67.2 kB / 0.8219 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.6398, allocations: 6.781 kB / 0.822 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.6398, allocations: 15.88 kB / 0.822 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.6398, allocations: 6.062 kB / 0.822 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.6536, allocations: 1.913 MB / 0.8238 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/7.116, allocations: 7.969 kB / 0.8238 GB, free: 12.29 MB / 0.6198 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: 10.236020981799811] Failed to read output from testmodel.py, exit status != 0: 7.191139232832938 7.202145771 6.56340178 Calling exit ...