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.001028/0.001028, 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.0008805/0.0008805, allocations: 169.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.9051/0.9051, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7093/0.7093, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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 1.863e-06/1.863e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.663e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001312/0.001338, allocations: 0.6096 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.001655, allocations: 147.5 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.001678, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.001694, allocations: 7.938 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.126e-05/0.001715, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.002002, allocations: 31.91 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.002056, allocations: 19.97 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.002099, allocations: 0 / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.00213, allocations: 11.98 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.002194, allocations: 7.938 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.002207, allocations: 0 / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.002279, allocations: 35.94 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.002294, allocations: 4 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.00231, allocations: 8 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.002417, allocations: 39.88 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002419, allocations: 0 / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.51e-07/0.00242, allocations: 0 / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.002424, 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.0003115/0.002736, allocations: 256.4 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.002776, allocations: 11.97 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.002809, allocations: 34.73 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.002834, allocations: 4.938 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.002905, allocations: 101.8 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.002918, allocations: 12.38 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.002938, allocations: 384 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.003226, allocations: 71.89 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.003235, allocations: 192 / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.003245, allocations: 384 / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003251, allocations: 4.125 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.00329, allocations: 15.98 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.003419, allocations: 140.6 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.003493, allocations: 46.56 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.003519, allocations: 16.98 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.00359, allocations: 8 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.00361, allocations: 34.55 kB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.003611, allocations: 0 / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008923/0.004504, allocations: 415.1 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.004532, allocations: 55.41 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.004576, allocations: 93.86 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.004587, allocations: 25.7 kB / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.004607, allocations: 80.14 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.004634, allocations: 27.78 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.004661, allocations: 21.72 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.004736, allocations: 315 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.004764, allocations: 15.98 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.004781, allocations: 12 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.004831, allocations: 45.05 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.004832, allocations: 0 / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.249e-05/0.004905, allocations: 73.58 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.004915, allocations: 4 kB / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004921, allocations: 0 / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004933, allocations: 3.938 kB / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.004993, allocations: 15.98 kB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.004998, allocations: 0 / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.00501, allocations: 8 kB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.005016, allocations: 4 kB / 0.6209 GB, free: 10.49 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 4.836e-05/0.005064, allocations: 106.8 kB / 0.621 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.005072, allocations: 8 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.005185, allocations: 77.58 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.005187, allocations: 11.88 kB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005191, allocations: 0 / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005194, allocations: 0 / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/0.005267, allocations: 136.7 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005268, allocations: 4 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.005314, allocations: 19.92 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005315, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.005321, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.005324, allocations: 8.125 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005325, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.005448, allocations: 121 kB / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.005454, allocations: 4.031 kB / 0.6214 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.005464, allocations: 0 / 0.6214 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/0.005487, allocations: 3.938 kB / 0.6214 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.005502, allocations: 8.047 kB / 0.6214 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.005506, allocations: 8 kB / 0.6214 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.005527, allocations: 79.28 kB / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005527, allocations: 0 / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001477/0.005675, allocations: 31.92 kB / 0.6215 GB, free: 9.797 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.0003386/0.006014, allocations: 0.6748 MB / 0.6222 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.493e-05/0.006099, allocations: 43.95 kB / 0.6222 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0061, allocations: 0 / 0.6222 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.006122, allocations: 24.41 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.006231, allocations: 10.12 kB / 0.6223 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.006969, allocations: 1.199 MB / 0.6234 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.007007, allocations: 63.34 kB / 0.6235 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.007033, allocations: 4 kB / 0.6235 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.007062, allocations: 16.5 kB / 0.6235 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/0.007063, allocations: 0 / 0.6235 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.02253, allocations: 2.445 MB / 0.6259 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.758, allocations: 9.984 kB / 0.6259 GB, free: 5.352 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.422256666235626] Failed to read output from testmodel.py, exit status != 0: 6.8416488552466035 6.850727895 6.846548669 Calling exit ...