Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",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.006637/0.006637, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001266/0.001266, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.302/1.302, 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.886/0.886, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 69.86 kB / 0.5852 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 80.93 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001794/0.1473, allocations: 0.6097 MB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1491, allocations: 1.387 MB / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1491, allocations: 0 / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.726e-05/0.1492, allocations: 0 / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.1493, allocations: 7.938 kB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.15, allocations: 175.6 kB / 0.6663 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1501, allocations: 55.89 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.1501, allocations: 4 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.1502, allocations: 19.98 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1502, allocations: 23.91 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1502, allocations: 4 kB / 0.6664 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1506, allocations: 207.7 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1506, allocations: 11.92 kB / 0.6666 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1507, allocations: 27.86 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.151, allocations: 182.4 kB / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.151, allocations: 0 / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.151, allocations: 0 / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.151, allocations: 0 / 0.6668 GB, free: 3.543 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004617/0.1515, allocations: 443.5 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1515, allocations: 9.109 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.1516, allocations: 34.75 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1516, allocations: 8.844 kB / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1517, allocations: 176.2 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1518, allocations: 384 / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1518, allocations: 8.375 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.152, allocations: 101.7 kB / 0.6676 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.152, allocations: 0 / 0.6676 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.152, allocations: 7.938 kB / 0.6676 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.152, allocations: 0 / 0.6676 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.1521, allocations: 59.95 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1523, allocations: 177.6 kB / 0.6678 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1524, allocations: 82.47 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.1525, allocations: 68.89 kB / 0.668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1525, allocations: 3.938 kB / 0.668 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1525, allocations: 38.5 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1525, allocations: 0 / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003886/0.1529, allocations: 259.3 kB / 0.6682 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.153, allocations: 81.11 kB / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1531, allocations: 143.4 kB / 0.6685 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1531, allocations: 25.7 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1532, allocations: 92.05 kB / 0.6686 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1532, allocations: 7.906 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.1533, allocations: 33.73 kB / 0.6686 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1534, allocations: 322.8 kB / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1535, allocations: 99.94 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1536, allocations: 107.9 kB / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1539, allocations: 269.9 kB / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1539, allocations: 4 kB / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003341/0.1543, allocations: 324.7 kB / 0.6697 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.1543, allocations: 71.39 kB / 0.6698 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1543, allocations: 0 / 0.6698 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1543, allocations: 4.062 kB / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1544, allocations: 0 / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1544, allocations: 0 / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1545, allocations: 19.84 kB / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1545, allocations: 7.984 kB / 0.6698 GB, free: 224 kB / 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000104/0.1546, allocations: 151.5 kB / 0.6699 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.1547, allocations: 15.78 kB / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.1547, allocations: 8.25 kB / 0.67 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1547, allocations: 0 / 0.67 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1547, allocations: 4 kB / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1547, allocations: 0 / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1548, allocations: 173.6 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1548, allocations: 3.938 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1548, allocations: 0 / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1548, allocations: 0 / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1549, allocations: 4 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1549, allocations: 3.938 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1549, allocations: 0 / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1551, allocations: 234.6 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.1552, allocations: 84.95 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1552, allocations: 4 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.1553, allocations: 7.984 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1553, allocations: 8 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1553, allocations: 0 / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.1554, allocations: 109 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1554, allocations: 3.938 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002809/0.1557, allocations: 67.98 kB / 0.6706 GB, free: 15.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006482/0.1563, allocations: 0.8144 MB / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.1567, allocations: 370.6 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1568, allocations: 0 / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1569, allocations: 135.3 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.157, allocations: 12.14 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.159, allocations: 2.127 MB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1593, allocations: 0.6924 MB / 0.6747 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.234e-06/0.1593, allocations: 0 / 0.6747 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.1593, allocations: 19.44 kB / 0.6747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1593, allocations: 0 / 0.6747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1788, allocations: 3.288 MB / 0.6779 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.535, allocations: 9.906 kB / 0.6779 GB, free: 7.684 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)