Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001344/0.001344, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001572/0.001572, allocations: 215.3 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9247/0.9247, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.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/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.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 66.14 kB / 0.6185 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1721, allocations: 85.92 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003245/0.1754, allocations: 1.46 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005291/0.1759, allocations: 192.2 kB / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.1759, allocations: 0 / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.176, allocations: 0 / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.176, allocations: 15.92 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1764, allocations: 35.89 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.1764, allocations: 23.88 kB / 0.7041 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1766, allocations: 11.98 kB / 0.7041 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.1766, allocations: 8 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.1767, allocations: 15.92 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1767, allocations: 0 / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1768, allocations: 35.95 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.1768, allocations: 4 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1768, allocations: 19.88 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.177, allocations: 48.08 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.177, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.177, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.177, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 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.0005815/0.1776, allocations: 266.3 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1776, allocations: 8.031 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.1777, allocations: 30.75 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1777, allocations: 12.83 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1778, allocations: 114.5 kB / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1779, allocations: 384 / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1779, allocations: 384 / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1781, allocations: 50.23 kB / 0.7047 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.1782, allocations: 3.938 kB / 0.7047 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1782, allocations: 0 / 0.7047 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1782, allocations: 4 kB / 0.7047 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1784, allocations: 35.95 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1788, allocations: 224 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1789, allocations: 42.53 kB / 0.705 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.179, allocations: 20.91 kB / 0.705 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.1791, allocations: 4 kB / 0.705 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1791, allocations: 38.56 kB / 0.7051 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1791, allocations: 0 / 0.7051 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003927/0.1795, allocations: 93.52 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1795, allocations: 51.41 kB / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.1796, allocations: 101.8 kB / 0.7053 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1797, allocations: 29.7 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.1797, allocations: 88.27 kB / 0.7054 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1797, allocations: 3.953 kB / 0.7054 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1798, allocations: 21.7 kB / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1799, allocations: 310.8 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.18, allocations: 11.98 kB / 0.7058 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1801, allocations: 19.98 kB / 0.7058 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1803, allocations: 40.88 kB / 0.7058 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1803, allocations: 3.938 kB / 0.7058 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.1805, allocations: 65.61 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1805, allocations: 4 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1805, allocations: 7.984 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1805, allocations: 0 / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.1806, allocations: 12.03 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1806, allocations: 0 / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.1807, allocations: 7.984 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1807, allocations: 3.938 kB / 0.7059 GB, free: 13.58 MB / 0.5294 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 8.209e-05/0.1808, allocations: 113.8 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1808, allocations: 0 / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.181, allocations: 80.91 kB / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.181, allocations: 3.984 kB / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.181, allocations: 0 / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1811, allocations: 0 / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1812, allocations: 136.6 kB / 0.7062 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1812, allocations: 0 / 0.7062 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1813, allocations: 7.984 kB / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1813, allocations: 0 / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1813, allocations: 0 / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1813, allocations: 4 kB / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1813, allocations: 256 / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1816, allocations: 167.5 kB / 0.7064 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.1816, allocations: 4 kB / 0.7064 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1816, allocations: 4 kB / 0.7064 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1817, allocations: 7.984 kB / 0.7064 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1817, allocations: 0 / 0.7064 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1818, allocations: 11.97 kB / 0.7064 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.1818, allocations: 91.2 kB / 0.7065 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1818, allocations: 0 / 0.7065 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002412/0.1821, allocations: 11.94 kB / 0.7065 GB, free: 12.88 MB / 0.5294 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.0007112/0.1828, allocations: 0.7007 MB / 0.7072 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.183, allocations: 35.95 kB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.183, allocations: 0 / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.1832, allocations: 23.92 kB / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1835, allocations: 4 kB / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.184, allocations: 143.4 kB / 0.7074 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1844, allocations: 0.6805 MB / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.1844, allocations: 0 / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1845, allocations: 11.42 kB / 0.7081 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1845, allocations: 0 / 0.7081 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2147, allocations: 1.551 MB / 0.7096 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.99, allocations: 6.234 kB / 0.7096 GB, free: 9.762 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.702839266043156] Failed to read output from testmodel.py, exit status != 0: 11.092599534895271 11.109058767 10.928974904 Calling exit ...