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.0007554/0.0007554, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004864/0.004864, allocations: 170 kB / 16.27 MB, free: 6.652 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8747/0.8747, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002857, allocations: 8 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006472/0.1331, allocations: 335.1 kB / 0.5884 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1347, allocations: 1.405 MB / 0.5898 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.1348, allocations: 4 kB / 0.5898 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.1348, allocations: 4 kB / 0.5898 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.1349, allocations: 7.984 kB / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1354, allocations: 131.7 kB / 0.5899 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.1354, allocations: 35.97 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1355, allocations: 7.984 kB / 0.59 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.1355, allocations: 19.92 kB / 0.59 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.1356, allocations: 31.92 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1356, allocations: 0 / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.1359, allocations: 191.7 kB / 0.5902 GB, free: 324 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.1359, allocations: 11.98 kB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.136, allocations: 49.5 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1362, allocations: 183.8 kB / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1363, allocations: 0 / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1363, allocations: 4 kB / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1363, allocations: 0 / 0.5904 GB, free: 68 kB / 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.0003583/0.1366, allocations: 442.7 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1367, allocations: 8.031 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.1367, allocations: 30.75 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1367, allocations: 8.844 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1368, allocations: 174.7 kB / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1369, allocations: 4.375 kB / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1369, allocations: 384 / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1371, allocations: 101.8 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-06/0.1371, allocations: 0 / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1371, allocations: 4 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1371, allocations: 4 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.1372, allocations: 63.89 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.1373, allocations: 181.6 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.1374, allocations: 74.53 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.1375, allocations: 68.89 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-06/0.1375, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1376, allocations: 34.5 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1376, allocations: 4 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.1379, allocations: 259.1 kB / 0.5918 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.138, allocations: 81.11 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1381, allocations: 153.6 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1381, allocations: 29.7 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.1382, allocations: 84.14 kB / 0.5922 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1382, allocations: 15.81 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1382, allocations: 17.7 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.1383, allocations: 326.9 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1385, allocations: 99.94 kB / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1386, allocations: 99.94 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.1388, allocations: 281.8 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1388, allocations: 3.938 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003228/0.1392, allocations: 316.8 kB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.1392, allocations: 71.38 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1392, allocations: 0 / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.1392, allocations: 0 / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1392, allocations: 64 / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1393, allocations: 4 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1394, allocations: 15.84 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1394, allocations: 8 kB / 0.5934 GB, free: 12.76 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.0001006/0.1395, allocations: 147.5 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1395, allocations: 19.83 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.232e-05/0.1396, allocations: 4.391 kB / 0.5935 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1396, allocations: 3.984 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1396, allocations: 0 / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1396, allocations: 4 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1397, allocations: 173.6 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1397, allocations: 3.938 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1397, allocations: 0 / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1397, allocations: 4 kB / 0.5937 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1397, allocations: 0 / 0.5937 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1397, allocations: 0 / 0.5937 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1397, allocations: 3.938 kB / 0.5937 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.14, allocations: 234.6 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.14, allocations: 84.95 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1401, allocations: 4 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.1401, allocations: 11.92 kB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1402, allocations: 4 kB / 0.594 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1402, allocations: 7.938 kB / 0.594 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.1402, allocations: 109.9 kB / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1402, allocations: 0 / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002599/0.1405, allocations: 63.98 kB / 0.5942 GB, free: 11.78 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.0006368/0.1412, allocations: 0.8131 MB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.1415, allocations: 374.6 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1415, allocations: 0 / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1417, allocations: 131.4 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1418, allocations: 8.156 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1437, allocations: 2.144 MB / 0.5976 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1439, allocations: 0.6887 MB / 0.5983 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.522e-06/0.1439, allocations: 4 kB / 0.5983 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.1439, allocations: 15.44 kB / 0.5983 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1439, allocations: 0 / 0.5983 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.1579, allocations: 2.963 MB / 0.6012 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.1581, allocations: 202.1 kB / 0.6014 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.045, allocations: 0 / 0.6014 GB, free: 4.355 MB / 0.4981 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)