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.00179/0.00179, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002135/0.002135, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.797 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.8344/0.8344, allocations: 134 MB / 446.4 MB, free: 9.895 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.00206/0.00206, allocations: 66.12 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 85.92 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002781/0.1817, allocations: 1.448 MB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004945/0.1822, allocations: 184.3 kB / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.1822, allocations: 0 / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.1823, allocations: 3.938 kB / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.1823, allocations: 7.922 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1826, allocations: 39.89 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.1827, allocations: 19.94 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1828, allocations: 11.98 kB / 0.7041 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.1828, allocations: 7.938 kB / 0.7041 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.1829, allocations: 11.97 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1829, allocations: 11.94 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.183, allocations: 31.97 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.183, allocations: 4 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.183, allocations: 4 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1832, allocations: 48.08 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1832, allocations: 3.938 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1832, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1832, allocations: 0 / 0.7042 GB, free: 15.2 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.0004908/0.1837, allocations: 266.3 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1837, allocations: 8.031 kB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1838, allocations: 38.75 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1838, allocations: 12.83 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1839, allocations: 106.5 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1839, allocations: 4.375 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1839, allocations: 384 / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1841, allocations: 58.16 kB / 0.7046 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1841, allocations: 3.938 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1841, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1841, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1843, allocations: 39.95 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1847, allocations: 212.1 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1848, allocations: 38.5 kB / 0.7049 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.329e-05/0.1849, allocations: 24.91 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.185, allocations: 11.92 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.185, allocations: 30.56 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.185, allocations: 0 / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004006/0.1854, allocations: 89.59 kB / 0.7051 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1855, allocations: 51.41 kB / 0.7051 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1856, allocations: 105.9 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1856, allocations: 25.7 kB / 0.7053 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.1857, allocations: 80.14 kB / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1857, allocations: 11.94 kB / 0.7053 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1858, allocations: 13.72 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.186, allocations: 310.8 kB / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.1861, allocations: 24.11 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.1861, allocations: 19.91 kB / 0.7057 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1863, allocations: 40.83 kB / 0.7057 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1863, allocations: 3.938 kB / 0.7057 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.1865, allocations: 69.72 kB / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1865, allocations: 4 kB / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1865, allocations: 0 / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.1865, allocations: 0 / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1867, allocations: 11.98 kB / 0.7058 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1867, allocations: 0 / 0.7058 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1867, allocations: 4 kB / 0.7058 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1867, allocations: 0 / 0.7058 GB, free: 13.32 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 0.0001182/0.1868, allocations: 125.7 kB / 0.7059 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1869, allocations: 11.95 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1871, allocations: 68.97 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1871, allocations: 0 / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1871, allocations: 0 / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1871, allocations: 0 / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1874, allocations: 132.6 kB / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1874, allocations: 0 / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1874, allocations: 11.98 kB / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1874, allocations: 0 / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1874, allocations: 4.031 kB / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1874, allocations: 0 / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1874, allocations: 0 / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1877, allocations: 171.4 kB / 0.7063 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.1877, allocations: 4 kB / 0.7063 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1877, allocations: 0 / 0.7063 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.1878, allocations: 4 kB / 0.7063 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1879, allocations: 12.23 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1879, allocations: 4.031 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.1879, allocations: 83.28 kB / 0.7064 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1879, allocations: 0 / 0.7064 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002487/0.1882, allocations: 11.94 kB / 0.7064 GB, free: 12.62 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.0007654/0.1889, allocations: 0.7045 MB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1892, allocations: 44 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1892, allocations: 0 / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.1893, allocations: 19.97 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1897, allocations: 4 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.1901, allocations: 135.2 kB / 0.7073 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.1902, allocations: 71.14 kB / 0.7074 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.1902, allocations: 0 / 0.7074 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.1903, allocations: 11.56 kB / 0.7074 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.1903, allocations: 0 / 0.7074 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.2196, allocations: 1.983 MB / 0.7093 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 0 / 0.7093 GB, free: 9.691 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.776477310806513] Failed to read output from testmodel.py, exit status != 0: 11.285531939007342 11.302944724 11.116557814 Calling exit ...