Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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.00111/0.00111, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001112/0.001112, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00193/0.00193, allocations: 278.6 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8269/0.8269, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 92.86 kB / 0.5948 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001579/0.1304, allocations: 0.6621 MB / 0.6804 GB, free: 316 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1319, allocations: 1.397 MB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1319, allocations: 0 / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.132, allocations: 11.88 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.132, allocations: 0 / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.1326, allocations: 160 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.1327, allocations: 51.95 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.1327, allocations: 7.875 kB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.1327, allocations: 19.98 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.1328, allocations: 23.91 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1328, allocations: 4 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1331, allocations: 199.7 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1331, allocations: 15.94 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1331, allocations: 23.86 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1333, allocations: 187.6 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1334, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1334, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1334, allocations: 0 / 0.6824 GB, free: 14.2 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.0003532/0.1337, allocations: 438.7 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1338, allocations: 8.031 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.1338, allocations: 34.75 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1338, allocations: 8.844 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.245e-05/0.1339, allocations: 172.2 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1339, allocations: 8.312 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.134, allocations: 12.3 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1341, allocations: 97.77 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.1341, allocations: 0 / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1341, allocations: 4 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.1341, allocations: 0 / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.1342, allocations: 59.95 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.1344, allocations: 181.6 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.521e-05/0.1345, allocations: 82.52 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1345, allocations: 72.83 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.1346, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1346, allocations: 34.5 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1346, allocations: 0 / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003379/0.1349, allocations: 251.2 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.135, allocations: 85.14 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.1351, allocations: 147.8 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1351, allocations: 29.7 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.1351, allocations: 88.12 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1352, allocations: 15.75 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.1352, allocations: 25.72 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.1353, allocations: 326.8 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1354, allocations: 99.94 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1355, allocations: 107.9 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1358, allocations: 273.8 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1358, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002962/0.1361, allocations: 324.8 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.1361, allocations: 67.39 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1361, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.1361, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.1361, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1362, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1363, allocations: 15.83 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1363, allocations: 16 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB 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 8.581e-05/0.1364, allocations: 148.8 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1364, allocations: 15.84 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.1364, allocations: 8.25 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1364, allocations: 0 / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1364, allocations: 3.938 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.1364, allocations: 0 / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/0.1365, allocations: 173.6 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1365, allocations: 3.938 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1365, allocations: 0 / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1366, allocations: 4.141 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1366, allocations: 4 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1366, allocations: 3.984 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1366, allocations: 0 / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1368, allocations: 226.6 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.1368, allocations: 92.94 kB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1369, allocations: 0 / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.1369, allocations: 8.031 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.137, allocations: 11.92 kB / 0.686 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.137, allocations: 4 kB / 0.6861 GB, free: 10.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.137, allocations: 109.3 kB / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1373, allocations: 60 kB / 0.6862 GB, free: 9.91 MB / 494.1 MB 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.000566/0.1379, allocations: 0.8114 MB / 0.687 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1382, allocations: 374.6 kB / 0.6874 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1382, allocations: 3.938 kB / 0.6874 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1383, allocations: 139.3 kB / 0.6875 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1385, allocations: 8 kB / 0.6875 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1402, allocations: 2.132 MB / 0.6896 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1404, allocations: 0.6924 MB / 0.6903 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.679e-06/0.1404, allocations: 0 / 0.6903 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.1405, allocations: 23.42 kB / 0.6903 GB, free: 5.547 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1405, allocations: 0 / 0.6903 GB, free: 5.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05539/0.1959, allocations: 3.144 MB / 0.6934 GB, free: 2.551 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.1962, allocations: 217.3 kB / 0.6936 GB, free: 2.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.819, allocations: 4.438 kB / 0.6936 GB, free: 2.297 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)