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.001276/0.001276, 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.001029/0.001029, allocations: 165.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.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7341/0.7341, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.674e-05, allocations: 5.781 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001554/0.001581, allocations: 0.6156 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.001815, allocations: 59.67 kB / 0.6188 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.001833, allocations: 4 kB / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.001849, allocations: 0 / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.557e-06/0.001858, allocations: 3.938 kB / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.002115, allocations: 19.97 kB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.002163, allocations: 4 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.002203, allocations: 4 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.00223, allocations: 7.984 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.002273, allocations: 11.98 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002286, allocations: 4 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.00235, allocations: 7.984 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002364, allocations: 7.938 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002384, allocations: 7.922 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.00247, allocations: 19.97 kB / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002472, allocations: 0 / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.764e-06/0.002474, allocations: 0 / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.002477, allocations: 0 / 0.6189 GB, free: 12.93 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.0002814/0.002758, allocations: 254.3 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.002797, allocations: 9.469 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.002826, allocations: 38.73 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.002848, allocations: 4.938 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.002901, allocations: 105.8 kB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.002911, allocations: 384 / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.002919, allocations: 4.375 kB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.003031, allocations: 70.48 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.003038, allocations: 192 / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.003046, allocations: 384 / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.003053, allocations: 8.125 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.003083, allocations: 15.92 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.003222, allocations: 148.3 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.0033, allocations: 96.94 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.003341, allocations: 36.48 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.003512, allocations: 7.984 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.003535, allocations: 42.44 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.003536, allocations: 0 / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0004689/0.004005, allocations: 78.09 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.004064, allocations: 162.1 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.678e-05/0.004091, allocations: 93.89 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004101, allocations: 29.7 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.00412, allocations: 84.12 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.004154, allocations: 11.91 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.004182, allocations: 25.7 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.004251, allocations: 314.8 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.004267, allocations: 4 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.004296, allocations: 40.22 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.004344, allocations: 48.23 kB / 0.6205 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.004353, allocations: 4 kB / 0.6205 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.604e-05/0.004419, allocations: 61.62 kB / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.004432, allocations: 4 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.004437, allocations: 3.938 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.00445, allocations: 7.984 kB / 0.6206 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.004512, allocations: 8.156 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.004518, allocations: 8.062 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.004537, allocations: 11.94 kB / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.004544, allocations: 0 / 0.6206 GB, free: 10.8 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.399e-05/0.004598, allocations: 118.8 kB / 0.6207 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.004606, allocations: 7.953 kB / 0.6207 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.004749, allocations: 92.64 kB / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.004752, allocations: 0 / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.004759, allocations: 11.92 kB / 0.6208 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.004762, allocations: 0 / 0.6208 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.424e-05/0.004846, allocations: 128.8 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004847, allocations: 4 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.004883, allocations: 19.92 kB / 0.621 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.004885, allocations: 0 / 0.621 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.004892, allocations: 4 kB / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.004893, allocations: 0 / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.004895, allocations: 7.938 kB / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.00499, allocations: 128.5 kB / 0.6211 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-06/0.004996, allocations: 7.875 kB / 0.6211 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.005008, allocations: 8 kB / 0.6211 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.005021, allocations: 0 / 0.6211 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.005038, allocations: 12.02 kB / 0.6211 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.005044, allocations: 11.94 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.88e-05/0.005063, allocations: 75.28 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005063, allocations: 3.938 kB / 0.6212 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001428/0.005206, allocations: 12 kB / 0.6212 GB, free: 10.07 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.0003187/0.005524, allocations: 0.6548 MB / 0.6219 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.005612, allocations: 43.86 kB / 0.6219 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005614, allocations: 0 / 0.6219 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.005634, allocations: 19.92 kB / 0.6219 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.005752, allocations: 8 kB / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.006058, allocations: 174.6 kB / 0.6221 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.006099, allocations: 71.34 kB / 0.6222 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.006125, allocations: 4 kB / 0.6222 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.006155, allocations: 12.5 kB / 0.6222 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.006156, allocations: 0 / 0.6222 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02228, allocations: 2.061 MB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.887, allocations: 3.562 kB / 0.6242 GB, free: 7.047 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 & /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.628204586915672] Failed to read output from testmodel.py, exit status != 0: 6.973789895884693 6.986880358 6.98234951 Calling exit ...