Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.6 kB / 16.13 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9053/0.9053, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 60.34 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002819/0.1321, allocations: 1.829 MB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1332, allocations: 0.6477 MB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1333, allocations: 8 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.1333, allocations: 7.922 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.1334, allocations: 7.875 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1339, allocations: 159 kB / 0.5864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.134, allocations: 115.7 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1342, allocations: 53.08 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1343, allocations: 63.77 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.1344, allocations: 47.7 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1344, allocations: 8 kB / 0.5867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1345, allocations: 43.97 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.1345, allocations: 23.91 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1346, allocations: 55.7 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1348, allocations: 135.8 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1348, allocations: 8 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1348, allocations: 3.938 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1348, allocations: 4 kB / 0.5869 GB, free: 1.691 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005541/0.1354, allocations: 435 kB / 0.5873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1354, allocations: 8.031 kB / 0.5874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.1355, allocations: 42.73 kB / 0.5874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.1363, allocations: 116.6 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1365, allocations: 188.1 kB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.1366, allocations: 63.97 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1366, allocations: 4.375 kB / 0.5878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.1371, allocations: 175.7 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1371, allocations: 4 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1371, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1371, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.1377, allocations: 159.8 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1388, allocations: 481.8 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.1397, allocations: 214.3 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.14, allocations: 84.91 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1401, allocations: 3.984 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1401, allocations: 34.56 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1401, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009954/0.1411, allocations: 265.5 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1411, allocations: 51.41 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1413, allocations: 139.8 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1413, allocations: 29.64 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.1414, allocations: 120.2 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1414, allocations: 19.66 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1415, allocations: 25.7 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1416, allocations: 322.8 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1419, allocations: 67.92 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1422, allocations: 98.48 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1427, allocations: 162.4 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1427, allocations: 4.188 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006287/0.1434, allocations: 213.4 kB / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1434, allocations: 4 kB / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1434, allocations: 3.938 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1434, allocations: 0 / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1437, allocations: 35.95 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1437, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1439, allocations: 27.95 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1439, allocations: 0 / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 9.55e-05/0.144, allocations: 121.8 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.144, allocations: 7.906 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.1448, allocations: 218 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1448, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1448, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1448, allocations: 3.984 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.145, allocations: 234.1 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.145, allocations: 0 / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.1452, allocations: 35.95 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1453, allocations: 0 / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1453, allocations: 15.91 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1453, allocations: 4 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1453, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.1459, allocations: 283.2 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.146, allocations: 85.02 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.146, allocations: 7.938 kB / 0.5913 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.1463, allocations: 32.14 kB / 0.5914 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1464, allocations: 3.984 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1464, allocations: 8 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.1465, allocations: 109.8 kB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1465, allocations: 0 / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002496/0.1467, allocations: 20 kB / 0.5915 GB, free: 12.64 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 (6): * Single equations (assignments): 6 * 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.0009163/0.1476, allocations: 0.8254 MB / 0.5923 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006019/0.1483, allocations: 159.8 kB / 0.5925 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.1483, allocations: 0 / 0.5925 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.1486, allocations: 95.91 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1489, allocations: 8 kB / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1517, allocations: 1.857 MB / 0.5944 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.152, allocations: 0.7043 MB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.701e-05/0.1521, allocations: 15.98 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.1521, allocations: 31.42 kB / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1522, allocations: 0 / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/0.382, allocations: 2.5 MB / 0.5976 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.3823, allocations: 187.8 kB / 0.5977 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.431, allocations: 0 / 0.5977 GB, free: 6.168 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)