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.0008245/0.0008245, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008744/0.0008744, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.044/1.044, allocations: 230.6 MB / 256 MB, free: 9.805 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.8232/0.8232, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.001064/0.001064, allocations: 70.2 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5392, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001302/0.5405, allocations: 0.604 MB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.5408, allocations: 62.97 kB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.5408, allocations: 0 / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.5408, allocations: 4 kB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.5408, allocations: 0 / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.541, allocations: 22.22 kB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.5411, allocations: 12.88 kB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.5411, allocations: 4.188 kB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.5412, allocations: 8.281 kB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.5412, allocations: 11.59 kB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.5412, allocations: 0 / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.5413, allocations: 15.73 kB / 0.8186 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.5413, allocations: 5.5 kB / 0.8186 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.5414, allocations: 12.66 kB / 0.8186 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.5415, allocations: 26.02 kB / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5415, allocations: 0 / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5415, allocations: 0 / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5415, allocations: 6.062 kB / 0.8187 GB, free: 0.7539 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.0002728/0.5418, allocations: 253.1 kB / 0.8189 GB, free: 500 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5418, allocations: 11.84 kB / 0.8189 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.036e-05/0.5418, allocations: 30.75 kB / 0.819 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.5418, allocations: 4.859 kB / 0.819 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.744e-05/0.5419, allocations: 107.2 kB / 0.8191 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5419, allocations: 384 / 0.8191 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.5419, allocations: 2.609 kB / 0.8191 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.542, allocations: 75.75 kB / 0.8191 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.542, allocations: 4.688 kB / 0.8191 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5421, allocations: 3.406 kB / 0.8192 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5421, allocations: 4 kB / 0.8192 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.5421, allocations: 10.73 kB / 0.8192 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.5422, allocations: 157.8 kB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.5423, allocations: 102.4 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.5424, allocations: 36.78 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.5425, allocations: 5.641 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5425, allocations: 41.05 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.5425, allocations: 1.375 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001831/0.5427, allocations: 75.31 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.5428, allocations: 157.6 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.5431, allocations: 89.86 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.5431, allocations: 33.7 kB / 0.8198 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.5431, allocations: 84.67 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.5432, allocations: 13.12 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.5432, allocations: 18.69 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.5433, allocations: 315.7 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.5433, allocations: 5.438 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.5434, allocations: 39.59 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.5434, allocations: 46.39 kB / 0.8203 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5434, allocations: 3.969 kB / 0.8203 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.352e-05/0.5435, allocations: 68.48 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5435, allocations: 9.031 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5435, allocations: 7.938 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5435, allocations: 3.938 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.5436, allocations: 11.3 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5436, allocations: 2.125 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.5436, allocations: 2.359 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.5436, allocations: 3.25 kB / 0.8204 GB, free: 14.84 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 6.051e-05/0.5437, allocations: 125.2 kB / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.5437, allocations: 3.188 kB / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.5439, allocations: 104.6 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5439, allocations: 3.422 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5439, allocations: 8.094 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5439, allocations: 2.688 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.544, allocations: 143.4 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.544, allocations: 0 / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.544, allocations: 16.94 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.544, allocations: 0 / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.544, allocations: 6.219 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.544, allocations: 3.219 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.544, allocations: 1.938 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.5441, allocations: 127.3 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.5441, allocations: 9.719 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5442, allocations: 8.594 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.5442, allocations: 7.719 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.5442, allocations: 10.83 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.5442, allocations: 1.312 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.5442, allocations: 75.28 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5442, allocations: 0 / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001413/0.5444, allocations: 15.06 kB / 0.8211 GB, free: 14.24 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.0003251/0.5447, allocations: 0.6541 MB / 0.8217 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/0.5448, allocations: 38.53 kB / 0.8218 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5448, allocations: 0 / 0.8218 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.5448, allocations: 28.17 kB / 0.8218 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.5449, allocations: 3.234 kB / 0.8218 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.5453, allocations: 178.7 kB / 0.822 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5455, allocations: 0.685 MB / 0.8226 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.5455, allocations: 13.02 kB / 0.8226 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.5455, allocations: 20.34 kB / 0.8227 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.5455, allocations: 0 / 0.8227 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.5636, allocations: 1.559 MB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.304/6.868, allocations: 5.625 kB / 0.8242 GB, free: 12.23 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.109626043122262] Failed to read output from testmodel.py, exit status != 0: 6.947394652059302 6.96076966 6.417219171 Calling exit ...