Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.088/1.088, allocations: 175.7 MB / 478.4 MB, free: 3.441 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 69.28 kB / 0.6652 GB, free: 11.3 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2247, allocations: 94.54 MB / 0.7576 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001937/0.2266, allocations: 0.6012 MB / 0.7582 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.227, allocations: 163.9 kB / 0.7583 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.2271, allocations: 0 / 0.7583 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.2271, allocations: 0 / 0.7583 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.44e-05/0.2271, allocations: 0 / 0.7583 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.2274, allocations: 47.78 kB / 0.7584 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.2276, allocations: 15.97 kB / 0.7584 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.2276, allocations: 0 / 0.7584 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.2277, allocations: 11.94 kB / 0.7584 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.2277, allocations: 7.984 kB / 0.7584 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2277, allocations: 0 / 0.7584 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.2278, allocations: 35.97 kB / 0.7584 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2278, allocations: 7.922 kB / 0.7584 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.2279, allocations: 11.98 kB / 0.7585 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.228, allocations: 36.11 kB / 0.7585 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.228, allocations: 0 / 0.7585 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.228, allocations: 0 / 0.7585 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.228, allocations: 0 / 0.7585 GB, free: 0.707 MB / 0.5606 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.000422/0.2284, allocations: 333 kB / 0.7588 GB, free: 340 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2285, allocations: 8.031 kB / 0.7588 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.2285, allocations: 38.73 kB / 0.7588 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.2285, allocations: 12.89 kB / 0.7589 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2287, allocations: 160.4 kB / 0.759 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2287, allocations: 384 / 0.759 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.2287, allocations: 4.375 kB / 0.759 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2288, allocations: 50.19 kB / 0.7591 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2288, allocations: 3.938 kB / 0.7591 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2288, allocations: 3.984 kB / 0.7591 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2289, allocations: 0 / 0.7591 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.2289, allocations: 15.98 kB / 0.7591 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.2291, allocations: 165.7 kB / 0.7592 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.2292, allocations: 38.56 kB / 0.7593 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.2293, allocations: 20.92 kB / 0.7593 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.2294, allocations: 85.09 kB / 0.7594 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2294, allocations: 38.5 kB / 0.7594 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.2294, allocations: 0 / 0.7594 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001348/0.2307, allocations: 492.4 kB / 0.7599 GB, free: 15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.2308, allocations: 55.41 kB / 0.7599 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.2309, allocations: 93.84 kB / 0.76 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2309, allocations: 25.7 kB / 0.7601 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.2309, allocations: 80.14 kB / 0.7601 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.231, allocations: 27.75 kB / 0.7602 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2311, allocations: 25.83 kB / 0.7602 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2313, allocations: 318.8 kB / 0.7605 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.2313, allocations: 8 kB / 0.7605 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.2313, allocations: 19.92 kB / 0.7605 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.2314, allocations: 36.86 kB / 0.7606 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2314, allocations: 0 / 0.7606 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001261/0.2315, allocations: 69.62 kB / 0.7606 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2315, allocations: 14.02 kB / 0.7606 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2315, allocations: 0 / 0.7606 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2315, allocations: 0 / 0.7606 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.2316, allocations: 16 kB / 0.7606 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2316, allocations: 3.938 kB / 0.7606 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.2317, allocations: 0 / 0.7606 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.2317, allocations: 4 kB / 0.7607 GB, free: 14.17 MB / 0.5762 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 8.516e-05/0.2318, allocations: 109.8 kB / 0.7608 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.2318, allocations: 15.88 kB / 0.7608 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.232, allocations: 81.62 kB / 0.7609 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.232, allocations: 0 / 0.7609 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.232, allocations: 4 kB / 0.7609 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.232, allocations: 4 kB / 0.7609 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2321, allocations: 157.7 kB / 0.761 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2321, allocations: 0 / 0.761 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.2322, allocations: 19.86 kB / 0.761 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2322, allocations: 4 kB / 0.761 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2322, allocations: 4 kB / 0.761 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.2322, allocations: 0 / 0.761 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2322, allocations: 3.938 kB / 0.761 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2324, allocations: 117.5 kB / 0.7612 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.2325, allocations: 85 kB / 0.7612 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2325, allocations: 3.938 kB / 0.7612 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.2325, allocations: 8 kB / 0.7612 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.2326, allocations: 7.922 kB / 0.7613 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2326, allocations: 4 kB / 0.7613 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.2326, allocations: 75.28 kB / 0.7613 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2326, allocations: 0 / 0.7613 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002235/0.2328, allocations: 40.08 kB / 0.7614 GB, free: 13.32 MB / 0.5762 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.0006123/0.2335, allocations: 0.6749 MB / 0.762 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2336, allocations: 43.91 kB / 0.7621 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2336, allocations: 0 / 0.7621 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.2336, allocations: 16 kB / 0.7621 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2338, allocations: 8.062 kB / 0.7621 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2352, allocations: 1.2 MB / 0.7633 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2356, allocations: 0.6768 MB / 0.7639 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2356, allocations: 11.97 kB / 0.7639 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.2356, allocations: 15.44 kB / 0.7639 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2356, allocations: 0 / 0.7639 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2636, allocations: 1.817 MB / 0.7657 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.373, allocations: 11.31 kB / 0.7657 GB, free: 8.863 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.387483932077885] Failed to read output from testmodel.py, exit status != 0: 8.455215684138238 8.470691281 8.239807837 Calling exit ...