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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001411/0.001411, allocations: 195.6 kB / 16.14 MB, free: 6.695 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.44 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1482, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002349/0.1506, allocations: 1.488 MB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.151, allocations: 192.3 kB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.151, allocations: 4 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.1511, allocations: 4 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.1511, allocations: 3.938 kB / 0.5855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1513, allocations: 27.97 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.1513, allocations: 15.94 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.1514, allocations: 11.98 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.1515, allocations: 7.938 kB / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.1515, allocations: 19.91 kB / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1515, allocations: 0 / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.1516, allocations: 31.97 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.1516, allocations: 7.938 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.1517, allocations: 11.94 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.1518, allocations: 39.92 kB / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1518, allocations: 3.938 kB / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1518, allocations: 0 / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1518, allocations: 0 / 0.5856 GB, free: 3.02 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.0003773/0.1522, allocations: 351.7 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1522, allocations: 8.031 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.1522, allocations: 30.75 kB / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.1523, allocations: 4.938 kB / 0.586 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.1523, allocations: 172.3 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.1524, allocations: 384 / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.1524, allocations: 384 / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1526, allocations: 46.25 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1526, allocations: 3.938 kB / 0.5862 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1526, allocations: 7.984 kB / 0.5862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1526, allocations: 4 kB / 0.5862 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1527, allocations: 35.91 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.153, allocations: 249 kB / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1531, allocations: 38.5 kB / 0.5865 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.1532, allocations: 20.91 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.1533, allocations: 89.09 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1533, allocations: 30.56 kB / 0.5867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1534, allocations: 0 / 0.5867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003168/0.1537, allocations: 89.56 kB / 0.5868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1537, allocations: 51.41 kB / 0.5868 GB, free: 1.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.1538, allocations: 102 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1538, allocations: 29.7 kB / 0.5869 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.1538, allocations: 84.12 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1539, allocations: 3.906 kB / 0.587 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.1539, allocations: 17.72 kB / 0.587 GB, free: 1.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.154, allocations: 310.8 kB / 0.5873 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.154, allocations: 19.98 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.1541, allocations: 19.97 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1543, allocations: 36.83 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1543, allocations: 3.938 kB / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.1544, allocations: 77.5 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1545, allocations: 10.12 kB / 0.5875 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1545, allocations: 0 / 0.5875 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.1545, allocations: 4.094 kB / 0.5875 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.1546, allocations: 11.98 kB / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1546, allocations: 3.984 kB / 0.5875 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.1546, allocations: 7.938 kB / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1546, allocations: 0 / 0.5875 GB, free: 0.832 MB / 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 5.944e-05/0.1547, allocations: 113.7 kB / 0.5876 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1547, allocations: 7.984 kB / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.1549, allocations: 76.72 kB / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.155, allocations: 0 / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.155, allocations: 4.25 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.155, allocations: 0 / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1551, allocations: 161.6 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1551, allocations: 3.984 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.1552, allocations: 4 kB / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1552, allocations: 4 kB / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1552, allocations: 0 / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1552, allocations: 4.031 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1552, allocations: 0 / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1554, allocations: 163.5 kB / 0.588 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.1554, allocations: 88.94 kB / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1554, allocations: 0 / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1555, allocations: 8.031 kB / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1556, allocations: 7.984 kB / 0.5881 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1556, allocations: 0 / 0.5881 GB, free: 100 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.1556, allocations: 83.28 kB / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1556, allocations: 0 / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1558, allocations: 8 kB / 0.5882 GB, free: 8 kB / 494.1 MB 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.0004783/0.1563, allocations: 0.7085 MB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.1565, allocations: 35.91 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1565, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.1566, allocations: 19.98 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1568, allocations: 14.39 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.1572, allocations: 148.9 kB / 0.5891 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1574, allocations: 0.677 MB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.1574, allocations: 0 / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.1575, allocations: 11.44 kB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1575, allocations: 0 / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.4478, allocations: 1.251 MB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003865/0.4483, allocations: 185.5 kB / 0.5912 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.537, allocations: 0 / 0.5912 GB, free: 12.92 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)