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: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000778/0.0007779, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0009915/0.0009917, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9753/0.9753, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 12.62 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 82.3 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.000801/0.2041, allocations: 334.9 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2059, allocations: 1.34 MB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.2059, allocations: 4 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/0.206, allocations: 0 / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.206, allocations: 0 / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.2066, allocations: 139.8 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.2066, allocations: 31.91 kB / 0.5892 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.2067, allocations: 4 kB / 0.5892 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.2067, allocations: 19.98 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.2068, allocations: 31.83 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2068, allocations: 4 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.2071, allocations: 175.7 kB / 0.5894 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.2071, allocations: 15.94 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2072, allocations: 29.7 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2073, allocations: 123.8 kB / 0.5896 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2073, allocations: 0 / 0.5896 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2073, allocations: 0 / 0.5896 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2074, allocations: 4 kB / 0.5896 GB, free: 0.7344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004036/0.2078, allocations: 434.8 kB / 0.59 GB, free: 256 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2078, allocations: 12.03 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.2079, allocations: 7.906 kB / 0.59 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.208, allocations: 177.2 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.208, allocations: 0 / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.208, allocations: 4 kB / 0.5902 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2082, allocations: 101.6 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2082, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2082, allocations: 4 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2083, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.2083, allocations: 63.95 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2085, allocations: 177.6 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2086, allocations: 78.47 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.2087, allocations: 76.88 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.2087, allocations: 0 / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2088, allocations: 34.56 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2088, allocations: 3.938 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003864/0.2092, allocations: 255.2 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.2092, allocations: 85.05 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2094, allocations: 141.9 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2094, allocations: 29.7 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2095, allocations: 92.03 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2095, allocations: 19.83 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.2095, allocations: 0 / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2096, allocations: 318.9 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2098, allocations: 103.9 kB / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2099, allocations: 99.94 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2101, allocations: 174.9 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2101, allocations: 0 / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003317/0.2104, allocations: 320.8 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.2105, allocations: 73.27 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2105, allocations: 0 / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2105, allocations: 0 / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2105, allocations: 4.062 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.2105, allocations: 3.938 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2107, allocations: 19.83 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2107, allocations: 4 kB / 0.5924 GB, free: 13.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.2108, allocations: 155.5 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.2108, allocations: 7.906 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.2108, allocations: 4.25 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2109, allocations: 0 / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2109, allocations: 4 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2109, allocations: 0 / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.211, allocations: 173.6 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.211, allocations: 3.953 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.211, allocations: 0 / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.211, allocations: 4 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.211, allocations: 3.938 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.211, allocations: 0 / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.211, allocations: 0 / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2113, allocations: 230.6 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2114, allocations: 81.06 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.2114, allocations: 7.984 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.2115, allocations: 7.938 kB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.2115, allocations: 11.98 kB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2116, allocations: 0 / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.2116, allocations: 111.2 kB / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2116, allocations: 0 / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002957/0.2119, allocations: 67.92 kB / 0.5932 GB, free: 12.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/0.2122, allocations: 147.2 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2127, allocations: 370.6 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2127, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2129, allocations: 135.3 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.213, allocations: 8 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.2134, allocations: 211.5 kB / 0.594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2138, allocations: 0.6965 MB / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.55e-06/0.2138, allocations: 4 kB / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.2138, allocations: 7.438 kB / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2138, allocations: 3.938 kB / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.004499/0.2183, allocations: 1.868 MB / 0.5965 GB, free: 9.109 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)