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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001561/0.001561, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8559/0.8559, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 80.94 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002343/0.1338, allocations: 1.477 MB / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.1341, allocations: 192.3 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.1342, allocations: 0 / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1342, allocations: 3.938 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.1342, allocations: 4 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1345, allocations: 35.91 kB / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.1345, allocations: 19.98 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.1346, allocations: 15.98 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.1347, allocations: 11.92 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.162e-05/0.1347, allocations: 15.92 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1347, allocations: 0 / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.1348, allocations: 39.95 kB / 0.5858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.1348, allocations: 7.938 kB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.1348, allocations: 3.938 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.1349, allocations: 39.88 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1349, allocations: 0 / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1349, allocations: 0 / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1349, allocations: 0 / 0.5858 GB, free: 2.898 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.0003603/0.1353, allocations: 351.7 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1353, allocations: 8.031 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.1354, allocations: 38.75 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.1354, allocations: 0.9375 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.1355, allocations: 172.3 kB / 0.5864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1355, allocations: 4.375 kB / 0.5864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.1355, allocations: 384 / 0.5864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1357, allocations: 54.23 kB / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1357, allocations: 3.938 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1357, allocations: 0 / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1357, allocations: 3.938 kB / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1359, allocations: 39.89 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.1361, allocations: 245 kB / 0.5867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1363, allocations: 42.48 kB / 0.5867 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.1363, allocations: 24.91 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/0.1364, allocations: 77.11 kB / 0.5868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1364, allocations: 38.55 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.1365, allocations: 0 / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003021/0.1368, allocations: 81.59 kB / 0.5869 GB, free: 1.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.1368, allocations: 59.39 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.1369, allocations: 97.86 kB / 0.5871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1369, allocations: 25.7 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.1369, allocations: 88.14 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1369, allocations: 7.891 kB / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.137, allocations: 9.719 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.1371, allocations: 323 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.1371, allocations: 11.98 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.1372, allocations: 15.98 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1373, allocations: 44.75 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1374, allocations: 3.938 kB / 0.5876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.1375, allocations: 73.62 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1376, allocations: 4 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1376, allocations: 3.938 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1376, allocations: 4 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1377, allocations: 4 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1377, allocations: 3.984 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.1377, allocations: 7.984 kB / 0.5877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1377, allocations: 4.031 kB / 0.5877 GB, free: 0.707 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 6.026e-05/0.1378, allocations: 121.7 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1378, allocations: 0 / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.138, allocations: 76.7 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.138, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.138, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1381, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1382, allocations: 165.6 kB / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1382, allocations: 4.188 kB / 0.5881 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1383, allocations: 11.98 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1383, allocations: 4 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1383, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1383, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1383, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1385, allocations: 167.4 kB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1385, allocations: 93 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1386, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1386, allocations: 7.984 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.1387, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1387, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.1387, allocations: 83.27 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1387, allocations: 0 / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000213/0.1389, allocations: 20.03 kB / 0.5884 GB, free: 15.87 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.0004334/0.1394, allocations: 0.6929 MB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1396, allocations: 51.92 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1396, allocations: 0 / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.1397, allocations: 19.98 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1399, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.1403, allocations: 147.1 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.1404, allocations: 0.6769 MB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1405, allocations: 7.984 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.1405, allocations: 11.44 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1405, allocations: 3.938 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.471/1.612, allocations: 1.28 MB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.612, allocations: 187.8 kB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.791, allocations: 0 / 0.5914 GB, free: 12.75 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)