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.005003/0.005003, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001303/0.001304, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 274.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 91.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 86.96 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001987/0.169, allocations: 0.6393 MB / 0.7666 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005245/0.1695, allocations: 203.1 kB / 0.7668 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.1696, allocations: 0 / 0.7668 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1696, allocations: 0 / 0.7668 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1698, allocations: 7.938 kB / 0.7668 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.17, allocations: 83.73 kB / 0.7669 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.1701, allocations: 31.86 kB / 0.7669 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1702, allocations: 0 / 0.7669 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1703, allocations: 15.92 kB / 0.7669 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1704, allocations: 23.91 kB / 0.7669 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1704, allocations: 4 kB / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.1706, allocations: 107.7 kB / 0.767 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.1706, allocations: 7.984 kB / 0.767 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.1707, allocations: 15.88 kB / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1709, allocations: 107.9 kB / 0.7672 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1709, allocations: 4 kB / 0.7672 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1709, allocations: 0 / 0.7672 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1709, allocations: 4 kB / 0.7672 GB, free: 7.684 MB / 0.5606 GB 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.0006255/0.1716, allocations: 363.2 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1716, allocations: 12.03 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.1717, allocations: 34.75 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1717, allocations: 4.938 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1719, allocations: 176.3 kB / 0.7677 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1719, allocations: 4.375 kB / 0.7677 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1719, allocations: 8.312 kB / 0.7677 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1721, allocations: 54.23 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1721, allocations: 3.938 kB / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1721, allocations: 0 / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1721, allocations: 0 / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1723, allocations: 39.95 kB / 0.7678 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1726, allocations: 244.9 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1728, allocations: 74.41 kB / 0.7681 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.1729, allocations: 24.94 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1729, allocations: 3.984 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.173, allocations: 34.56 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.173, allocations: 4 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.02827/0.2012, allocations: 1.605 MB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2013, allocations: 51.41 kB / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2015, allocations: 125.7 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.2015, allocations: 33.7 kB / 0.77 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2017, allocations: 88.06 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.2018, allocations: 23.81 kB / 0.7701 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.202, allocations: 29.7 kB / 0.7701 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2021, allocations: 318.8 kB / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.2026, allocations: 143.9 kB / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.2031, allocations: 147.9 kB / 0.7707 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.204, allocations: 296.8 kB / 0.771 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.204, allocations: 0.5625 kB / 0.771 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001148/0.2052, allocations: 345.4 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2052, allocations: 4 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2052, allocations: 4 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2053, allocations: 0 / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.2068, allocations: 55.94 kB / 0.7714 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2068, allocations: 8.062 kB / 0.7714 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.2082, allocations: 51.94 kB / 0.7714 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.2082, allocations: 4 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB 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.0001958/0.2084, allocations: 122.4 kB / 0.7715 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.2085, allocations: 3.984 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2086, allocations: 16.38 kB / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2086, allocations: 0 / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2087, allocations: 0 / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2087, allocations: 0 / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.2145, allocations: 0.8452 MB / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2146, allocations: 0 / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.2157, allocations: 60 kB / 0.7724 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.2157, allocations: 3.938 kB / 0.7724 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.2157, allocations: 7.922 kB / 0.7724 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.2158, allocations: 4 kB / 0.7725 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2158, allocations: 0 / 0.7725 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.2167, allocations: 329.1 kB / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.2168, allocations: 81.06 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.2168, allocations: 11.88 kB / 0.7729 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.2179, allocations: 43.95 kB / 0.7729 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.2179, allocations: 3.984 kB / 0.7729 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.218, allocations: 11.94 kB / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.2181, allocations: 91.27 kB / 0.773 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2181, allocations: 0 / 0.773 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000516/0.2186, allocations: 95.94 kB / 0.7731 GB, free: 1.258 MB / 0.5606 GB 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.001371/0.22, allocations: 0.8628 MB / 0.7739 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009825/0.221, allocations: 259.7 kB / 0.7742 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.221, allocations: 0 / 0.7742 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2214, allocations: 95.88 kB / 0.7743 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2218, allocations: 4 kB / 0.7743 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3169/0.5387, allocations: 2.677 MB / 0.7769 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.5389, allocations: 0.6878 MB / 0.7776 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.5393, allocations: 53.03 kB / 0.7776 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.5398, allocations: 24.62 kB / 0.7776 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.5398, allocations: 0 / 0.7776 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.5758, allocations: 9.82 MB / 0.7872 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.534, allocations: 10.06 kB / 0.7872 GB, free: 12.18 MB / 0.5606 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)