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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001372/0.001371, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8709/0.8709, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 68.02 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002594/0.134, allocations: 1.817 MB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.135, allocations: 0.6515 MB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.135, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.1351, allocations: 7.922 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.1351, allocations: 15.86 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.1356, allocations: 155.5 kB / 0.5866 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1357, allocations: 127.6 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1358, allocations: 49.09 kB / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.136, allocations: 63.77 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.136, allocations: 51.77 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1361, allocations: 8 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1362, allocations: 43.97 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.1362, allocations: 39.89 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1362, allocations: 51.72 kB / 0.587 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1364, allocations: 143.8 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1364, allocations: 3.938 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1364, allocations: 4 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1364, allocations: 0 / 0.5871 GB, free: 1.539 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.000467/0.1369, allocations: 431 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1369, allocations: 8.031 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.137, allocations: 46.75 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/0.1377, allocations: 112.6 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.1378, allocations: 180.1 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.1379, allocations: 67.95 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.138, allocations: 12.38 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.1384, allocations: 167.7 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1384, allocations: 0 / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1384, allocations: 4 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1385, allocations: 0 / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.139, allocations: 163.8 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009478/0.1399, allocations: 490 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/0.1409, allocations: 218.3 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.1412, allocations: 84.91 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1412, allocations: 0 / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1412, allocations: 34.56 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1412, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009032/0.1421, allocations: 269.4 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.1422, allocations: 51.41 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.1423, allocations: 139.7 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1423, allocations: 29.7 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1423, allocations: 116.2 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1424, allocations: 19.59 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1424, allocations: 29.64 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.1425, allocations: 326.8 kB / 0.59 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1428, allocations: 71.92 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1431, allocations: 90.5 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1436, allocations: 166.4 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1436, allocations: 0 / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005964/0.1442, allocations: 205.4 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1442, allocations: 4 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1442, allocations: 3.938 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1442, allocations: 0 / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1445, allocations: 40.02 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1445, allocations: 0 / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.1447, allocations: 23.97 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1447, allocations: 7.984 kB / 0.5906 GB, free: 13.74 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 7.969e-05/0.1448, allocations: 117.8 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1448, allocations: 7.906 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/0.1455, allocations: 210.2 kB / 0.5909 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1455, allocations: 3.984 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1455, allocations: 0 / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1455, allocations: 384 / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1457, allocations: 246 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1457, allocations: 8 kB / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.146, allocations: 35.89 kB / 0.5912 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.146, allocations: 0 / 0.5912 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.146, allocations: 3.938 kB / 0.5912 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.146, allocations: 4 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.146, allocations: 160 / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.1466, allocations: 283.3 kB / 0.5915 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1466, allocations: 81.02 kB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1467, allocations: 11.92 kB / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.147, allocations: 31.95 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.147, allocations: 4 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.147, allocations: 7.984 kB / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.1471, allocations: 105.8 kB / 0.5917 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1471, allocations: 3.938 kB / 0.5917 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002457/0.1473, allocations: 24 kB / 0.5917 GB, free: 12.48 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.0008294/0.1482, allocations: 0.8254 MB / 0.5925 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.1488, allocations: 167.8 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1488, allocations: 0 / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.149, allocations: 79.86 kB / 0.5928 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1493, allocations: 11.98 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.1519, allocations: 1.874 MB / 0.5946 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1522, allocations: 0.7002 MB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.301e-05/0.1523, allocations: 12 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1523, allocations: 27.42 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1523, allocations: 0 / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.14/2.293, allocations: 2.59 MB / 0.5979 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/2.293, allocations: 182.9 kB / 0.598 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/4.308, allocations: 0 / 0.598 GB, free: 5.934 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)