Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001277/0.001277, allocations: 109 kB / 16.41 MB, free: 6.496 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.001775/0.001776, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.484/1.484, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.15/1.15, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 68.75 kB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2001, allocations: 89.52 MB / 0.7353 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003464/0.2036, allocations: 1.461 MB / 0.7367 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2048, allocations: 0.5609 MB / 0.7372 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2049, allocations: 0 / 0.7372 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.205, allocations: 7.938 kB / 0.7372 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.205, allocations: 3.938 kB / 0.7372 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.2053, allocations: 55.83 kB / 0.7373 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.2054, allocations: 27.86 kB / 0.7373 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2056, allocations: 8.266 kB / 0.7373 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2057, allocations: 12 kB / 0.7373 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.2058, allocations: 15.92 kB / 0.7374 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2058, allocations: 0 / 0.7374 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.206, allocations: 55.94 kB / 0.7374 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.206, allocations: 3.938 kB / 0.7374 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.2061, allocations: 11.94 kB / 0.7374 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2063, allocations: 67.73 kB / 0.7375 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2063, allocations: 4 kB / 0.7375 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2064, allocations: 0 / 0.7375 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2064, allocations: 0 / 0.7375 GB, free: 15.9 MB / 0.5762 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.0006154/0.207, allocations: 355.2 kB / 0.7378 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.207, allocations: 12.03 kB / 0.7378 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.2071, allocations: 30.75 kB / 0.7379 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.2071, allocations: 4.938 kB / 0.7379 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2073, allocations: 180.3 kB / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2074, allocations: 4.375 kB / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2074, allocations: 384 / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2076, allocations: 45.81 kB / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2076, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2076, allocations: 0 / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2076, allocations: 4 kB / 0.7381 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2077, allocations: 19.98 kB / 0.7381 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.2082, allocations: 260.8 kB / 0.7384 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2083, allocations: 30.56 kB / 0.7384 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.2084, allocations: 16.92 kB / 0.7384 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.2095, allocations: 477.4 kB / 0.7389 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.2096, allocations: 30.56 kB / 0.7389 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 4.498e-06/0.2096, allocations: 3.984 kB / 0.7389 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003004/0.2099, allocations: 65.61 kB / 0.739 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.21, allocations: 55.41 kB / 0.739 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2101, allocations: 109.8 kB / 0.7391 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2102, allocations: 25.83 kB / 0.7392 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.2103, allocations: 96.09 kB / 0.7392 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2103, allocations: 11.83 kB / 0.7393 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.2103, allocations: 13.72 kB / 0.7393 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2106, allocations: 326.8 kB / 0.7396 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.2106, allocations: 8 kB / 0.7396 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.2107, allocations: 11.98 kB / 0.7396 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.2108, allocations: 28.91 kB / 0.7396 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2108, allocations: 0 / 0.7396 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002717/0.2111, allocations: 53.62 kB / 0.7397 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2111, allocations: 4 kB / 0.7397 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2112, allocations: 0 / 0.7397 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2112, allocations: 4 kB / 0.7397 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2113, allocations: 11.98 kB / 0.7397 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2113, allocations: 0 / 0.7397 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.2114, allocations: 32 / 0.7397 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2114, allocations: 8 kB / 0.7397 GB, free: 13.31 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 (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 0.000121/0.2115, allocations: 109.8 kB / 0.7398 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.2116, allocations: 0 / 0.7398 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.2118, allocations: 77.03 kB / 0.7399 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2118, allocations: 0 / 0.7399 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2118, allocations: 0 / 0.7399 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2119, allocations: 0 / 0.7399 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.2121, allocations: 161.6 kB / 0.74 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2121, allocations: 8.031 kB / 0.74 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2122, allocations: 4 kB / 0.74 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2122, allocations: 3.984 kB / 0.7401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2122, allocations: 0 / 0.7401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2123, allocations: 4 kB / 0.7401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2123, allocations: 0 / 0.7401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.2125, allocations: 155.5 kB / 0.7402 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.2126, allocations: 81.05 kB / 0.7403 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2126, allocations: 3.984 kB / 0.7403 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.2127, allocations: 4 kB / 0.7403 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.2128, allocations: 0 / 0.7403 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2128, allocations: 0 / 0.7403 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.2129, allocations: 91.27 kB / 0.7404 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2129, allocations: 0 / 0.7404 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003708/0.2133, allocations: 19.89 kB / 0.7404 GB, free: 12.5 MB / 0.5762 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.0007035/0.214, allocations: 0.6929 MB / 0.7411 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2142, allocations: 31.91 kB / 0.7411 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.2142, allocations: 4 kB / 0.7411 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.2143, allocations: 16.03 kB / 0.7411 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2146, allocations: 0 / 0.7411 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.2152, allocations: 164.2 kB / 0.7413 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2156, allocations: 0.6806 MB / 0.7419 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.2156, allocations: 0 / 0.7419 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2157, allocations: 15.44 kB / 0.742 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2157, allocations: 0 / 0.742 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.2407, allocations: 1.616 MB / 0.7435 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.136, allocations: 13.75 kB / 0.7435 GB, free: 9.25 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.486605094978586] Failed to read output from testmodel.py, exit status != 0: 8.201565498951823 8.507444215 8.298543608 Calling exit ...