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.005721/0.005721, allocations: 98.34 kB / 15.73 MB, free: 5.605 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.001164/0.001164, allocations: 197.2 kB / 16.67 MB, free: 5.531 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8101/0.8101, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.97 kB / 0.5851 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 80.92 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002841/0.1424, allocations: 1.426 MB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.1429, allocations: 204.2 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1429, allocations: 0 / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.143, allocations: 4 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.1431, allocations: 7.938 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1434, allocations: 35.89 kB / 0.6658 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.1435, allocations: 23.92 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.1436, allocations: 8 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.1436, allocations: 15.92 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.1437, allocations: 8 kB / 0.6658 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1437, allocations: 0 / 0.6658 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.1438, allocations: 35.95 kB / 0.6659 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.1438, allocations: 11.92 kB / 0.6659 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1438, allocations: 11.94 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.144, allocations: 36.17 kB / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.144, allocations: 0 / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.144, allocations: 0 / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.144, allocations: 0 / 0.6659 GB, free: 4.457 MB / 0.4981 GB 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.0004496/0.1445, allocations: 351.3 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1445, allocations: 9.109 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1446, allocations: 38.75 kB / 0.6663 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1446, allocations: 4.938 kB / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1447, allocations: 168.3 kB / 0.6665 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1447, allocations: 8.312 kB / 0.6665 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1448, allocations: 384 / 0.6665 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1449, allocations: 50.23 kB / 0.6665 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.145, allocations: 3.938 kB / 0.6665 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.145, allocations: 0 / 0.6665 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.145, allocations: 0 / 0.6665 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1451, allocations: 39.95 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1455, allocations: 248.9 kB / 0.6668 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1456, allocations: 46.42 kB / 0.6669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.1457, allocations: 24.91 kB / 0.6669 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.628e-05/0.1458, allocations: 77.11 kB / 0.667 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1458, allocations: 38.56 kB / 0.667 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1458, allocations: 0 / 0.667 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.1462, allocations: 77.64 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1463, allocations: 59.34 kB / 0.6671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.1464, allocations: 101.8 kB / 0.6672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1464, allocations: 29.83 kB / 0.6673 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.1464, allocations: 84.14 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1465, allocations: 7.953 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1465, allocations: 17.64 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1466, allocations: 314.8 kB / 0.6677 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.1467, allocations: 15.98 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.1468, allocations: 11.98 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.147, allocations: 48.88 kB / 0.6677 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.147, allocations: 3.938 kB / 0.6677 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.1472, allocations: 65.62 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1472, allocations: 7.938 kB / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1472, allocations: 0 / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1473, allocations: 7.984 kB / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1474, allocations: 11.97 kB / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1474, allocations: 0 / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1474, allocations: 7.984 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1474, allocations: 0 / 0.6678 GB, free: 2.262 MB / 0.4981 GB 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 7.294e-05/0.1475, allocations: 113.8 kB / 0.6679 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1476, allocations: 0 / 0.6679 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.1478, allocations: 76.78 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1478, allocations: 0 / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1478, allocations: 3.984 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1478, allocations: 3.984 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.148, allocations: 157.9 kB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.148, allocations: 4 kB / 0.6682 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.1481, allocations: 15.92 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1481, allocations: 0 / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1481, allocations: 0 / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1481, allocations: 0 / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1481, allocations: 4.031 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1483, allocations: 163.5 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.1484, allocations: 85.06 kB / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1484, allocations: 0 / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.1485, allocations: 7.984 kB / 0.6684 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1485, allocations: 8.031 kB / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1485, allocations: 0 / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.1486, allocations: 83.27 kB / 0.6685 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1486, allocations: 0 / 0.6685 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000232/0.1488, allocations: 15.94 kB / 0.6685 GB, free: 1.43 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.0005804/0.1494, allocations: 0.702 MB / 0.6692 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.1496, allocations: 43.95 kB / 0.6693 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1496, allocations: 0 / 0.6693 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.1497, allocations: 19.92 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1501, allocations: 8.094 kB / 0.6693 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.1505, allocations: 135.1 kB / 0.6694 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1507, allocations: 0.6768 MB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.1507, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1508, allocations: 15.36 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1508, allocations: 0 / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1702, allocations: 1.44 MB / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.636, allocations: 11.38 kB / 0.6715 GB, free: 14.36 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)