Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_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.006578/0.006578, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001229/0.001229, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 73.56 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1684, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001732/0.1702, allocations: 0.5992 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1718, allocations: 1.395 MB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1719, allocations: 0 / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.1719, allocations: 3.938 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.172, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1726, allocations: 181.6 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.1727, allocations: 55.84 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1728, allocations: 0 / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.1728, allocations: 19.98 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.1729, allocations: 27.89 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1729, allocations: 4 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.1732, allocations: 199.7 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.1733, allocations: 15.94 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1733, allocations: 23.86 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1735, allocations: 190.4 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1736, allocations: 0 / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1736, allocations: 4 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1736, allocations: 0 / 0.6619 GB, free: 11.23 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.0003992/0.174, allocations: 439.5 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.174, allocations: 8.031 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.1741, allocations: 34.75 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1741, allocations: 12.84 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1742, allocations: 181.6 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1742, allocations: 384 / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1743, allocations: 4.375 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1744, allocations: 101.8 kB / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1744, allocations: 0 / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.1744, allocations: 0 / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1745, allocations: 0 / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.1745, allocations: 63.89 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1747, allocations: 181.6 kB / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1748, allocations: 78.53 kB / 0.6629 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1749, allocations: 68.89 kB / 0.663 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.1749, allocations: 4 kB / 0.663 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1749, allocations: 34.5 kB / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1749, allocations: 0 / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003568/0.1753, allocations: 255.1 kB / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1754, allocations: 89.03 kB / 0.6634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1755, allocations: 143.6 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1755, allocations: 25.7 kB / 0.6635 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1756, allocations: 96.12 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.1756, allocations: 7.938 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.1756, allocations: 29.7 kB / 0.6637 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.1757, allocations: 318.8 kB / 0.664 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1758, allocations: 103.9 kB / 0.6641 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.176, allocations: 99.94 kB / 0.6642 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1762, allocations: 273.8 kB / 0.6644 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1762, allocations: 0 / 0.6644 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003282/0.1765, allocations: 328.7 kB / 0.6647 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.1766, allocations: 75.45 kB / 0.6648 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1766, allocations: 0 / 0.6648 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1766, allocations: 0 / 0.6648 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.1766, allocations: 3.984 kB / 0.6648 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1767, allocations: 0 / 0.6648 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1768, allocations: 15.84 kB / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1768, allocations: 4 kB / 0.6648 GB, free: 7.914 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: 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.0001005/0.1769, allocations: 147.5 kB / 0.665 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.177, allocations: 11.84 kB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.177, allocations: 12.25 kB / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.177, allocations: 4.125 kB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.177, allocations: 3.984 kB / 0.665 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.177, allocations: 0 / 0.665 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1771, allocations: 169.7 kB / 0.6652 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1771, allocations: 7.922 kB / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1771, allocations: 0 / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1771, allocations: 0 / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1771, allocations: 7.938 kB / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1772, allocations: 0 / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1772, allocations: 0 / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1774, allocations: 234.6 kB / 0.6654 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.1774, allocations: 88.95 kB / 0.6655 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1775, allocations: 4 kB / 0.6655 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.1775, allocations: 0 / 0.6655 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1776, allocations: 11.98 kB / 0.6655 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1776, allocations: 4 kB / 0.6655 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.1777, allocations: 109.1 kB / 0.6656 GB, free: 7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1777, allocations: 4.031 kB / 0.6656 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002686/0.1779, allocations: 60 kB / 0.6657 GB, free: 6.938 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: 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.0006223/0.1786, allocations: 0.8208 MB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.179, allocations: 370.7 kB / 0.6668 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.179, allocations: 4.094 kB / 0.6668 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1791, allocations: 135.3 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1793, allocations: 7.719 kB / 0.667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1811, allocations: 2.135 MB / 0.669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1814, allocations: 0.6885 MB / 0.6697 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.082e-06/0.1814, allocations: 0 / 0.6697 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1814, allocations: 19.42 kB / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/0.1814, allocations: 0 / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.1993, allocations: 3.342 MB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.795, allocations: 5.578 kB / 0.673 GB, free: 15.34 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)