Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",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.0008264/0.0008263, allocations: 97.88 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.005307/0.005307, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.195/1.195, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001631/0.001631, allocations: 289.8 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.854/0.854, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 13.44 kB / 0.5988 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0005384/0.1372, allocations: 361.2 kB / 0.6856 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.1376, allocations: 196.4 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.1376, allocations: 3.938 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-06/0.1376, allocations: 4.5 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.1377, allocations: 6.312 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.1378, allocations: 67.77 kB / 0.6859 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.1379, allocations: 27.97 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.206e-05/0.1379, allocations: 0 / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.1379, allocations: 19.92 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.138, allocations: 26.69 kB / 0.6859 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.138, allocations: 4 kB / 0.6859 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1381, allocations: 107.8 kB / 0.686 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.1381, allocations: 7.938 kB / 0.686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1382, allocations: 45.55 kB / 0.6861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1383, allocations: 99.81 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1383, allocations: 0 / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1383, allocations: 0 / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.304e-06/0.1383, allocations: 1.562 kB / 0.6862 GB, free: 13.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003557/0.1387, allocations: 360.8 kB / 0.6865 GB, free: 13.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.1387, allocations: 18.3 kB / 0.6865 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.1388, allocations: 34.69 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.745e-05/0.1388, allocations: 8.938 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.1389, allocations: 172.2 kB / 0.6867 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-06/0.1389, allocations: 384 / 0.6867 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1389, allocations: 384 / 0.6867 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.139, allocations: 70.28 kB / 0.6868 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.139, allocations: 3.938 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.1391, allocations: 4 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-06/0.1391, allocations: 0 / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1392, allocations: 35.97 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.1394, allocations: 250.2 kB / 0.6871 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1396, allocations: 85.55 kB / 0.6872 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.1397, allocations: 28.09 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1397, allocations: 7.938 kB / 0.6872 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.1397, allocations: 34.56 kB / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1398, allocations: 0 / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02847/0.1682, allocations: 1.757 MB / 0.689 GB, free: 10.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1683, allocations: 55.34 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.1684, allocations: 125.8 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.1685, allocations: 25.7 kB / 0.6892 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.1685, allocations: 92.05 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.1686, allocations: 27.62 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.1687, allocations: 21.72 kB / 0.6893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.1687, allocations: 314.8 kB / 0.6896 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.1692, allocations: 159.9 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1697, allocations: 163.9 kB / 0.6899 GB, free: 9.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.1706, allocations: 328.8 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1706, allocations: 3.938 kB / 0.6902 GB, free: 9.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001135/0.1718, allocations: 385.4 kB / 0.6906 GB, free: 9.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1718, allocations: 8 kB / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1718, allocations: 0 / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1718, allocations: 0 / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.1735, allocations: 79.83 kB / 0.6907 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1735, allocations: 4 kB / 0.6907 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.1749, allocations: 59.94 kB / 0.6907 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.175, allocations: 8.641 kB / 0.6907 GB, free: 9.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001627/0.1752, allocations: 115.1 kB / 0.6908 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.1753, allocations: 7.906 kB / 0.6909 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1754, allocations: 24.36 kB / 0.6909 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1754, allocations: 0 / 0.6909 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1754, allocations: 0 / 0.6909 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1754, allocations: 0 / 0.6909 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.1813, allocations: 0.9195 MB / 0.6918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1814, allocations: 0 / 0.6918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.1826, allocations: 67.91 kB / 0.6918 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1826, allocations: 0 / 0.6918 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.1826, allocations: 19.84 kB / 0.6919 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1826, allocations: 4.062 kB / 0.6919 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1826, allocations: 0 / 0.6919 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.1835, allocations: 372.9 kB / 0.6922 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1836, allocations: 85 kB / 0.6923 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.1837, allocations: 12 kB / 0.6923 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.1848, allocations: 51.95 kB / 0.6924 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1848, allocations: 4 kB / 0.6924 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.1848, allocations: 7.969 kB / 0.6924 GB, free: 7.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1849, allocations: 95.27 kB / 0.6925 GB, free: 7.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1849, allocations: 0 / 0.6925 GB, free: 7.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1853, allocations: 96 kB / 0.6926 GB, free: 7.117 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.00122/0.1865, allocations: 0.9092 MB / 0.6934 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009387/0.1874, allocations: 295.7 kB / 0.6937 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1875, allocations: 0 / 0.6937 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1879, allocations: 111.9 kB / 0.6938 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1881, allocations: 8.125 kB / 0.6938 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/0.1946, allocations: 2.834 MB / 0.6966 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1948, allocations: 0.6809 MB / 0.6973 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004661/0.1953, allocations: 60.22 kB / 0.6973 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.1957, allocations: 35.38 kB / 0.6974 GB, free: 2.047 MB / 494.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1957, allocations: 0 / 0.6974 GB, free: 2.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.818/4.013, allocations: 9.305 MB / 0.7064 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/4.014, allocations: 217.8 kB / 0.7067 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/6.101, allocations: 64 / 0.7067 GB, free: 8.617 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)