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.0008002/0.0008002, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008264/0.0008264, allocations: 162 kB / 22.43 MB, free: 2.145 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.9348/0.9348, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.7049/0.7049, allocations: 155 MB / 414.2 MB, free: 484 kB / 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: 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.000901/0.000901, allocations: 67.89 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4965, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.00145/0.4979, allocations: 0.6049 MB / 0.7189 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000252/0.4982, allocations: 58 kB / 0.719 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.4982, allocations: 0 / 0.719 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.4982, allocations: 1.188 kB / 0.719 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-06/0.4982, allocations: 0 / 0.719 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.4985, allocations: 26.62 kB / 0.719 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.4985, allocations: 16.72 kB / 0.719 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.4986, allocations: 1.953 kB / 0.719 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.4986, allocations: 10.34 kB / 0.719 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.4987, allocations: 9.344 kB / 0.719 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.4987, allocations: 0 / 0.719 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.4988, allocations: 13.81 kB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.4988, allocations: 1.828 kB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.4988, allocations: 7.359 kB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.4989, allocations: 21.39 kB / 0.7191 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4989, allocations: 1.156 kB / 0.7191 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4989, allocations: 0 / 0.7191 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4989, allocations: 4 kB / 0.7191 GB, free: 22.7 MB / 0.6355 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.0002853/0.4992, allocations: 264.7 kB / 0.7193 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4992, allocations: 10.41 kB / 0.7193 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.4993, allocations: 36.78 kB / 0.7194 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.4993, allocations: 2.094 kB / 0.7194 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.853e-05/0.4993, allocations: 104.1 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4993, allocations: 10.47 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4993, allocations: 2.453 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4995, allocations: 73.55 kB / 0.7195 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4995, allocations: 3.938 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4995, allocations: 5.719 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4995, allocations: 1.375 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.4995, allocations: 15.5 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.908e-05/0.4996, allocations: 146.1 kB / 0.7197 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.4997, allocations: 96.61 kB / 0.7198 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.4997, allocations: 33.8 kB / 0.7198 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.4998, allocations: 11.19 kB / 0.7198 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.4999, allocations: 42.02 kB / 0.7199 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4999, allocations: 0 / 0.7199 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001655/0.5, allocations: 76.08 kB / 0.72 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.5001, allocations: 161.2 kB / 0.7201 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.249e-05/0.5001, allocations: 90.52 kB / 0.7202 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.5001, allocations: 26.95 kB / 0.7202 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-06/0.5001, allocations: 81.11 kB / 0.7203 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.5001, allocations: 23.28 kB / 0.7203 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.5002, allocations: 23.25 kB / 0.7203 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.057e-05/0.5002, allocations: 317.8 kB / 0.7206 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.5002, allocations: 8.469 kB / 0.7207 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.5002, allocations: 36.34 kB / 0.7207 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.5003, allocations: 51.72 kB / 0.7207 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5003, allocations: 0 / 0.7207 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.751e-05/0.5003, allocations: 59.61 kB / 0.7208 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5004, allocations: 10 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5004, allocations: 5.062 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5004, allocations: 1.828 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.5004, allocations: 14.09 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.5004, allocations: 2.375 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.5005, allocations: 1.344 kB / 0.7208 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5005, allocations: 2.938 kB / 0.7208 GB, free: 20.79 MB / 0.6355 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 3.994e-05/0.5005, allocations: 119.8 kB / 0.7209 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.5005, allocations: 2.594 kB / 0.721 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.5007, allocations: 117 kB / 0.7211 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5007, allocations: 2.188 kB / 0.7211 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5007, allocations: 9.141 kB / 0.7211 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5007, allocations: 1.891 kB / 0.7211 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.5007, allocations: 129.7 kB / 0.7212 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5007, allocations: 1.156 kB / 0.7212 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.5008, allocations: 15.23 kB / 0.7212 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5008, allocations: 6.25 kB / 0.7212 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5008, allocations: 10.98 kB / 0.7212 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5008, allocations: 1.156 kB / 0.7212 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5008, allocations: 1.953 kB / 0.7212 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.796e-05/0.5009, allocations: 118.5 kB / 0.7213 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.5009, allocations: 11.19 kB / 0.7214 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.5009, allocations: 10.22 kB / 0.7214 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.5009, allocations: 2.094 kB / 0.7214 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.5009, allocations: 11.66 kB / 0.7214 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.5009, allocations: 7.219 kB / 0.7214 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.107e-05/0.501, allocations: 76.31 kB / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.501, allocations: 0 / 0.7215 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001431/0.5011, allocations: 10.06 kB / 0.7215 GB, free: 20.2 MB / 0.6355 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.0002425/0.5013, allocations: 0.6577 MB / 0.7221 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.5014, allocations: 36.67 kB / 0.7221 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5014, allocations: 0 / 0.7221 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.5015, allocations: 29.81 kB / 0.7222 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.5016, allocations: 11.38 kB / 0.7222 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.5019, allocations: 175.6 kB / 0.7224 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.5019, allocations: 63.47 kB / 0.7224 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.5019, allocations: 14.7 kB / 0.7224 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.502, allocations: 13.78 kB / 0.7224 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.502, allocations: 3.938 kB / 0.7224 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.5177, allocations: 2.044 MB / 0.7244 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/7.133, allocations: 15.41 kB / 0.7245 GB, free: 18.33 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.864595245104283] Failed to read output from testmodel.py, exit status != 0: 7.209761395119131 7.219285783 6.718613223 Calling exit ...