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.001358/0.001358, allocations: 106.3 kB / 17.08 MB, free: 6.016 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.001381/0.001381, allocations: 192.3 kB / 20.03 MB, free: 3.082 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.406/1.406, allocations: 222.9 MB / 245.7 MB, free: 4.223 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.193/1.193, allocations: 175.5 MB / 473.4 MB, free: 4.836 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 75.3 kB / 0.6521 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1661, allocations: 90.04 MB / 0.74 GB, free: 316 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001802/0.1679, allocations: 0.6007 MB / 0.7406 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.1683, allocations: 167.8 kB / 0.7408 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1684, allocations: 0 / 0.7408 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1684, allocations: 0 / 0.7408 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.1684, allocations: 0 / 0.7408 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1688, allocations: 47.83 kB / 0.7408 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.1688, allocations: 11.98 kB / 0.7408 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.1689, allocations: 0 / 0.7408 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.1689, allocations: 15.92 kB / 0.7408 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.169, allocations: 7.984 kB / 0.7408 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.169, allocations: 0 / 0.7408 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1691, allocations: 31.97 kB / 0.7409 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.1691, allocations: 11.92 kB / 0.7409 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.1691, allocations: 4 kB / 0.7409 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1692, allocations: 35.83 kB / 0.7409 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1692, allocations: 0 / 0.7409 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1693, allocations: 4 kB / 0.7409 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1693, allocations: 0 / 0.7409 GB, free: 15.38 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.000426/0.1697, allocations: 331.5 kB / 0.7412 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1697, allocations: 12.02 kB / 0.7413 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.1698, allocations: 12.83 kB / 0.7413 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1699, allocations: 160.4 kB / 0.7414 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1699, allocations: 4.375 kB / 0.7414 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.17, allocations: 4.375 kB / 0.7414 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1701, allocations: 50.19 kB / 0.7415 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1701, allocations: 192 / 0.7415 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1701, allocations: 3.938 kB / 0.7415 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1701, allocations: 0 / 0.7415 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.062e-05/0.1702, allocations: 19.98 kB / 0.7415 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1704, allocations: 153.7 kB / 0.7416 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.1705, allocations: 46.62 kB / 0.7417 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.1705, allocations: 20.98 kB / 0.7417 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1706, allocations: 89.03 kB / 0.7418 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1707, allocations: 34.56 kB / 0.7418 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1707, allocations: 0 / 0.7418 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001274/0.172, allocations: 484 kB / 0.7423 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.172, allocations: 51.41 kB / 0.7423 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.1721, allocations: 101.8 kB / 0.7424 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1721, allocations: 29.7 kB / 0.7425 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.1722, allocations: 80.14 kB / 0.7425 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1722, allocations: 23.75 kB / 0.7426 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1723, allocations: 25.7 kB / 0.7426 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1724, allocations: 314.8 kB / 0.7429 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.1724, allocations: 8 kB / 0.7429 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.1725, allocations: 23.98 kB / 0.7429 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.1726, allocations: 33.42 kB / 0.7429 GB, free: 13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1726, allocations: 4 kB / 0.743 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.1727, allocations: 69.67 kB / 0.743 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1727, allocations: 10.28 kB / 0.743 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1727, allocations: 3.984 kB / 0.743 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1727, allocations: 4 kB / 0.743 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.1728, allocations: 16 kB / 0.7431 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1728, allocations: 0 / 0.7431 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.1729, allocations: 3.938 kB / 0.7431 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1729, allocations: 7.938 kB / 0.7431 GB, free: 12.88 MB / 0.5606 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.197e-05/0.173, allocations: 113.8 kB / 0.7432 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.173, allocations: 11.89 kB / 0.7432 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.1732, allocations: 81.61 kB / 0.7433 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1732, allocations: 4 kB / 0.7433 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1732, allocations: 0 / 0.7433 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1732, allocations: 0 / 0.7433 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1733, allocations: 165.7 kB / 0.7434 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1733, allocations: 0 / 0.7434 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.1734, allocations: 19.92 kB / 0.7434 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.1735, allocations: 7.938 kB / 0.7434 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1735, allocations: 0 / 0.7434 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1735, allocations: 0 / 0.7434 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1735, allocations: 0 / 0.7434 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.1737, allocations: 113.1 kB / 0.7436 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1737, allocations: 85 kB / 0.7436 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1737, allocations: 0 / 0.7436 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.1738, allocations: 11.97 kB / 0.7436 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1738, allocations: 8.047 kB / 0.7437 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1738, allocations: 7.938 kB / 0.7437 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.1739, allocations: 75.28 kB / 0.7437 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.7437 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002169/0.1741, allocations: 31.94 kB / 0.7438 GB, free: 12.05 MB / 0.5606 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.0002356/0.1744, allocations: 131.2 kB / 0.7439 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1745, allocations: 35.98 kB / 0.7439 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1745, allocations: 4.094 kB / 0.7439 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.1745, allocations: 28.47 kB / 0.744 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1747, allocations: 4 kB / 0.744 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.175, allocations: 163 kB / 0.7441 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1753, allocations: 0.6807 MB / 0.7448 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.1753, allocations: 11.44 kB / 0.7448 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1754, allocations: 0 / 0.7448 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.002537/0.1779, allocations: 0.9185 MB / 0.7457 GB, free: 10.02 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.8863184039946645] Failed to read output from testmodel.py, exit status != 0: 0.18446222398779355 0.198293728 0.026423485 Calling exit ...