Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8905/0.8905, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.22 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002563/0.1358, allocations: 1.421 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.1362, allocations: 184.3 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.1362, allocations: 0 / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.1363, allocations: 7.922 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.1363, allocations: 11.92 kB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1366, allocations: 35.91 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.1367, allocations: 23.94 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.1368, allocations: 7.984 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.1368, allocations: 8 kB / 0.5861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.1369, allocations: 19.91 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1369, allocations: 0 / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.137, allocations: 35.97 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.137, allocations: 0 / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.137, allocations: 11.92 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1372, allocations: 39.88 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1372, allocations: 0 / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1372, allocations: 4 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1372, allocations: 0 / 0.5862 GB, free: 2.621 MB / 494.1 MB 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.0004129/0.1376, allocations: 347.7 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1377, allocations: 12.03 kB / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.1377, allocations: 34.75 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.1377, allocations: 0.9375 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1378, allocations: 168.3 kB / 0.5868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1378, allocations: 4.375 kB / 0.5868 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1379, allocations: 4.359 kB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.138, allocations: 54.23 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.138, allocations: 7.875 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.138, allocations: 0 / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1381, allocations: 0 / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1382, allocations: 35.91 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1385, allocations: 254.6 kB / 0.5871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1386, allocations: 34.5 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.1387, allocations: 28.89 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/0.1388, allocations: 77.11 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1389, allocations: 38.5 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1389, allocations: 0 / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003515/0.1392, allocations: 85.64 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1393, allocations: 51.41 kB / 0.5874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.1393, allocations: 101.8 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1394, allocations: 25.7 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.1394, allocations: 92.08 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1394, allocations: 3.906 kB / 0.5876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1395, allocations: 17.84 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.1396, allocations: 314.8 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.1397, allocations: 16.22 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.1397, allocations: 23.92 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1399, allocations: 40.89 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1399, allocations: 3.938 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.1401, allocations: 69.56 kB / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1401, allocations: 6.344 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1401, allocations: 4 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1402, allocations: 0 / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.1403, allocations: 7.984 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1403, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.1403, allocations: 8.031 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1403, allocations: 3.984 kB / 0.5881 GB, free: 444 kB / 494.1 MB 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 6.48e-05/0.1404, allocations: 125.7 kB / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1404, allocations: 0 / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.1407, allocations: 68.78 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1407, allocations: 0 / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1407, allocations: 4.031 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1407, allocations: 0 / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1408, allocations: 165.6 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1408, allocations: 0 / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.1409, allocations: 11.94 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1409, allocations: 0 / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.141, allocations: 4.047 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.141, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.141, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1412, allocations: 171.3 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.1413, allocations: 85.02 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1413, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.1414, allocations: 4 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1414, allocations: 3.984 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1414, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.1415, allocations: 79.28 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1415, allocations: 4.031 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.1417, allocations: 16 kB / 0.5888 GB, free: 15.61 MB / 0.4981 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.0005202/0.1422, allocations: 0.7045 MB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1425, allocations: 40 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1425, allocations: 3.938 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.1426, allocations: 23.97 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1428, allocations: 192 / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1433, allocations: 151.2 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1435, allocations: 0.6806 MB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.1435, allocations: 3.984 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1435, allocations: 15.44 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1435, allocations: 0 / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9442/1.088, allocations: 1.405 MB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.23, allocations: 6.797 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)