Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0008351/0.0008351, 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.0009592/0.0009592, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9129/0.9129, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.709/0.709, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.933e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001071/0.001091, allocations: 0.606 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005619/0.001653, allocations: 151.5 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.001675, allocations: 0 / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.001691, allocations: 0 / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.001713, allocations: 7.938 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.002016, allocations: 39.83 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.002072, allocations: 11.98 kB / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.002119, allocations: 7.984 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.002152, allocations: 8 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.00222, allocations: 3.984 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.002235, allocations: 4 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.002303, allocations: 31.95 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.002317, allocations: 0 / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.002335, allocations: 11.94 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.746e-05/0.002432, allocations: 35.88 kB / 0.6191 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.002435, allocations: 7.984 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002436, allocations: 0 / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.002441, allocations: 0 / 0.6191 GB, free: 12.68 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.0003217/0.002763, allocations: 256.4 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.002802, allocations: 12.03 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.002831, allocations: 30.75 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.002862, allocations: 0.9375 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.002937, allocations: 109.7 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.002948, allocations: 4.375 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.00297, allocations: 4.375 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.003076, allocations: 67.95 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.003082, allocations: 4.188 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.00309, allocations: 384 / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003096, allocations: 4.125 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.003136, allocations: 15.98 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.003259, allocations: 128.7 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.003336, allocations: 50.56 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.00336, allocations: 12.98 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.003426, allocations: 7.984 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.003447, allocations: 38.5 kB / 0.6198 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.003447, allocations: 7.938 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008475/0.004295, allocations: 411.3 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.004323, allocations: 51.41 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.004368, allocations: 97.86 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.004379, allocations: 25.7 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.004398, allocations: 80.14 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.004426, allocations: 27.78 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.004453, allocations: 21.66 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.004529, allocations: 314.8 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.004548, allocations: 16.12 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.004568, allocations: 15.98 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.00462, allocations: 41.08 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.00462, allocations: 0 / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.022e-05/0.004701, allocations: 69.62 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.004715, allocations: 4 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.004721, allocations: 0 / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.004736, allocations: 7.938 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.004802, allocations: 15.92 kB / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.004807, allocations: 0 / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.004821, allocations: 8 kB / 0.6209 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004826, allocations: 4 kB / 0.6209 GB, free: 10.5 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 (8): * Single equations (assignments): 8 * 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.41e-05/0.00488, allocations: 110.8 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.004891, allocations: 7.984 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.00502, allocations: 77.64 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005022, allocations: 3.938 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.005028, allocations: 3.984 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00503, allocations: 0 / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.503e-05/0.005105, allocations: 140.7 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005107, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.005153, allocations: 15.98 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005156, allocations: 4 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.005162, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005165, allocations: 3.938 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005166, allocations: 3.938 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.0053, allocations: 121 kB / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.005305, allocations: 0 / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.005315, allocations: 3.938 kB / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.005342, allocations: 16.02 kB / 0.6214 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.005356, allocations: 0 / 0.6214 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.005362, allocations: 4 kB / 0.6214 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.176e-05/0.005384, allocations: 83.34 kB / 0.6215 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005384, allocations: 0 / 0.6215 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001525/0.005537, allocations: 31.92 kB / 0.6215 GB, free: 9.805 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003483/0.005885, allocations: 0.6788 MB / 0.6222 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.005978, allocations: 44.23 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.00598, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.006001, allocations: 19.94 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.00611, allocations: 13.95 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.006846, allocations: 1.196 MB / 0.6235 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.006887, allocations: 63.34 kB / 0.6235 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.006912, allocations: 4 kB / 0.6235 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.006944, allocations: 20.48 kB / 0.6235 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.006945, allocations: 0 / 0.6235 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.02943, allocations: 2.434 MB / 0.6259 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/6.958, allocations: 10.05 kB / 0.6259 GB, free: 5.359 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.794840761460364] Failed to read output from testmodel.py, exit status != 0: 7.037900541909039 7.045630516 7.041526811 Calling exit ...