Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.0008461/0.0008461, 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.0008039/0.0008039, 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.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7215/0.7215, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6181 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.289e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002113/0.002136, allocations: 1.471 MB / 0.6195 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.002899, allocations: 0.5843 MB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.002957, allocations: 3.938 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.002984, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.003029, allocations: 11.88 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.003344, allocations: 59.75 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.003441, allocations: 39.84 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.003532, allocations: 4 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.00366, allocations: 15.98 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.003703, allocations: 15.92 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.003717, allocations: 4 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.003825, allocations: 51.94 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.003835, allocations: 4 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.003854, allocations: 7.938 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003995, allocations: 87.75 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003998, allocations: 0 / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003999, allocations: 4 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004003, allocations: 3.938 kB / 0.6204 GB, free: 11.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003526/0.004355, allocations: 270.2 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.004398, allocations: 8.031 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.004429, allocations: 38.67 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.004542, allocations: 12.89 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.004731, allocations: 125.7 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.004739, allocations: 384 / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.004747, allocations: 384 / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.004864, allocations: 54.23 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004872, allocations: 192 / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004882, allocations: 4.125 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004888, allocations: 3.984 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.004945, allocations: 23.92 kB / 0.6209 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.005388, allocations: 216.1 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.005459, allocations: 26.58 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.00549, allocations: 24.84 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.005818, allocations: 99.88 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.005839, allocations: 30.56 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.00584, allocations: 0 / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/0.006031, allocations: 61.61 kB / 0.6214 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.006059, allocations: 59.47 kB / 0.6214 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.006125, allocations: 113.8 kB / 0.6215 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.006134, allocations: 25.7 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.00617, allocations: 96.08 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.006184, allocations: 0 / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.006208, allocations: 13.72 kB / 0.6217 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.006282, allocations: 314.8 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.00631, allocations: 11.98 kB / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.00633, allocations: 8 kB / 0.622 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.006379, allocations: 32.84 kB / 0.622 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006381, allocations: 0 / 0.622 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.395e-05/0.006455, allocations: 65.56 kB / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006467, allocations: 4 kB / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006472, allocations: 0 / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006484, allocations: 0 / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.006539, allocations: 4 kB / 0.6221 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006543, allocations: 0 / 0.6221 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.00656, allocations: 7.984 kB / 0.6221 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006564, allocations: 7.969 kB / 0.6221 GB, free: 9.188 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.446e-05/0.006619, allocations: 114.8 kB / 0.6222 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.006633, allocations: 7.891 kB / 0.6222 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.006752, allocations: 69.19 kB / 0.6223 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.006755, allocations: 4 kB / 0.6223 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006759, allocations: 0 / 0.6223 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006762, allocations: 0 / 0.6223 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006867, allocations: 132.8 kB / 0.6224 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.00687, allocations: 3.938 kB / 0.6224 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.006893, allocations: 8.031 kB / 0.6224 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006896, allocations: 3.984 kB / 0.6224 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006902, allocations: 0 / 0.6224 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006904, allocations: 0 / 0.6224 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006905, allocations: 0 / 0.6224 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.00702, allocations: 147.9 kB / 0.6226 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.00703, allocations: 7.891 kB / 0.6226 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.007044, allocations: 7.984 kB / 0.6226 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.007073, allocations: 0 / 0.6226 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.007103, allocations: 7.938 kB / 0.6226 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.007107, allocations: 8.031 kB / 0.6226 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.007144, allocations: 87.27 kB / 0.6227 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007144, allocations: 0 / 0.6227 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001648/0.007308, allocations: 15.94 kB / 0.6227 GB, free: 8.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0003939/0.007702, allocations: 0.7037 MB / 0.6234 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.007814, allocations: 27.92 kB / 0.6234 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007816, allocations: 96 / 0.6234 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.007843, allocations: 12 kB / 0.6234 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.008026, allocations: 2.625 kB / 0.6234 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.009199, allocations: 1.247 MB / 0.6246 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.009247, allocations: 71.27 kB / 0.6247 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.009276, allocations: 12.03 kB / 0.6247 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.009316, allocations: 12.5 kB / 0.6247 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.009317, allocations: 0 / 0.6247 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02558, allocations: 2.292 MB / 0.627 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.733, allocations: 0.9375 kB / 0.627 GB, free: 4.145 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.378028710372746] Failed to read output from testmodel.py, exit status != 0: 6.810898847877979 6.819863121 6.814088063 Calling exit ...