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.006983/0.006983, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001802/0.001802, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8576/0.8576, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 69.03 kB / 0.5858 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1582, allocations: 81.03 MB / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001659/0.1599, allocations: 0.6039 MB / 0.6655 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1616, allocations: 1.383 MB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1617, allocations: 0 / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.1617, allocations: 4 kB / 0.6669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.006e-05/0.1618, allocations: 3.938 kB / 0.6669 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.1624, allocations: 175.6 kB / 0.667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1625, allocations: 51.84 kB / 0.6671 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.1626, allocations: 11.98 kB / 0.6671 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.1626, allocations: 19.97 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.1627, allocations: 23.92 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1627, allocations: 4 kB / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.163, allocations: 203.7 kB / 0.6673 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.1631, allocations: 19.92 kB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.1631, allocations: 19.86 kB / 0.6674 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1634, allocations: 187.7 kB / 0.6675 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1634, allocations: 4 kB / 0.6675 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1634, allocations: 0 / 0.6675 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1634, allocations: 0 / 0.6675 GB, free: 2.863 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.0004628/0.1639, allocations: 438.4 kB / 0.668 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1639, allocations: 17.11 kB / 0.668 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.164, allocations: 30.75 kB / 0.668 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.164, allocations: 12.88 kB / 0.668 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1642, allocations: 168.3 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1642, allocations: 4.375 kB / 0.6682 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1642, allocations: 4.375 kB / 0.6682 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1644, allocations: 101.7 kB / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1644, allocations: 0 / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1644, allocations: 0 / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1644, allocations: 3.938 kB / 0.6683 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.1645, allocations: 67.95 kB / 0.6684 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1647, allocations: 173.6 kB / 0.6685 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1648, allocations: 78.53 kB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.1649, allocations: 68.89 kB / 0.6687 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.1649, allocations: 3.938 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.165, allocations: 38.5 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.165, allocations: 4 kB / 0.6687 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004008/0.1654, allocations: 255.2 kB / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1654, allocations: 77.11 kB / 0.669 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1656, allocations: 147.6 kB / 0.6692 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1656, allocations: 25.7 kB / 0.6692 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.1656, allocations: 92.14 kB / 0.6693 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1657, allocations: 11.91 kB / 0.6693 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1657, allocations: 29.7 kB / 0.6693 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1659, allocations: 322.9 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.166, allocations: 99.94 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1661, allocations: 103.9 kB / 0.6698 GB, free: 296 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1665, allocations: 281.8 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1665, allocations: 0 / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003655/0.1668, allocations: 324.8 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.1669, allocations: 75.38 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1669, allocations: 0 / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1669, allocations: 0 / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.1669, allocations: 4 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.167, allocations: 4.062 kB / 0.6705 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1671, allocations: 11.89 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1671, allocations: 4 kB / 0.6705 GB, free: 15.55 MB / 0.5137 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.0001205/0.1672, allocations: 155.5 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1673, allocations: 15.83 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.1673, allocations: 8.234 kB / 0.6707 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1673, allocations: 0 / 0.6707 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1673, allocations: 4 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1673, allocations: 4 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1674, allocations: 173.6 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1675, allocations: 3.938 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/0.1675, allocations: 7.938 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1675, allocations: 144 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1675, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1675, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1675, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.1678, allocations: 230.7 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1678, allocations: 93.03 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1679, allocations: 0 / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.1679, allocations: 4 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.168, allocations: 11.98 kB / 0.6712 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.168, allocations: 0 / 0.6712 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.1681, allocations: 109 kB / 0.6713 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1681, allocations: 3.938 kB / 0.6713 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000271/0.1684, allocations: 71.86 kB / 0.6713 GB, free: 14.55 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.0007598/0.1691, allocations: 0.8053 MB / 0.6721 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.1696, allocations: 374.6 kB / 0.6725 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1696, allocations: 0 / 0.6725 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1697, allocations: 135.3 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1699, allocations: 7.938 kB / 0.6726 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.172, allocations: 2.146 MB / 0.6747 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1723, allocations: 0.6963 MB / 0.6754 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.039e-06/0.1723, allocations: 3.938 kB / 0.6754 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1724, allocations: 19.42 kB / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.1961, allocations: 3.283 MB / 0.6786 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.052, allocations: 9.578 kB / 0.6786 GB, free: 6.984 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)