Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_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.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 292.3 MB / 0.5489 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 70.55 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1802, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001496/0.1818, allocations: 0.6474 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.1821, allocations: 199.1 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.1822, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.1822, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1823, allocations: 11.92 kB / 0.7843 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.1825, allocations: 75.75 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1825, allocations: 27.92 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.1826, allocations: 4 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1826, allocations: 19.91 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.1827, allocations: 19.91 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1827, allocations: 4 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1828, allocations: 103.7 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1829, allocations: 15.92 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1829, allocations: 11.92 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.183, allocations: 107.8 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.183, allocations: 0 / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1831, allocations: 0 / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1831, allocations: 3.938 kB / 0.7847 GB, free: 12.1 MB / 0.6075 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.0004338/0.1835, allocations: 375.6 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1835, allocations: 12.03 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.1836, allocations: 30.75 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.1836, allocations: 0.9375 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1837, allocations: 180.3 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1837, allocations: 4.312 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1838, allocations: 4.359 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1839, allocations: 54.23 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1839, allocations: 3.938 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1839, allocations: 0 / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1839, allocations: 0 / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.184, allocations: 31.97 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.1843, allocations: 260.9 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1845, allocations: 74.41 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.1845, allocations: 20.94 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1846, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1846, allocations: 38.56 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1846, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02529/0.2099, allocations: 1.609 MB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2099, allocations: 55.41 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.21, allocations: 121.8 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.2101, allocations: 25.7 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.2102, allocations: 88.14 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.2102, allocations: 31.55 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2104, allocations: 25.7 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2105, allocations: 318.8 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.211, allocations: 151.9 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.2115, allocations: 139.9 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.2124, allocations: 288.8 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2124, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001114/0.2135, allocations: 341.4 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2136, allocations: 4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2136, allocations: 0 / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2136, allocations: 7.938 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.2151, allocations: 59.92 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2151, allocations: 0 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.2164, allocations: 52.59 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.2164, allocations: 4 kB / 0.7889 GB, free: 7.508 MB / 0.6075 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.0001729/0.2166, allocations: 117.7 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.2167, allocations: 4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.2168, allocations: 20.8 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2168, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2169, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2169, allocations: 7.922 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.2223, allocations: 0.8491 MB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2223, allocations: 4.062 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.2234, allocations: 55.88 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2234, allocations: 4 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.2234, allocations: 3.938 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2235, allocations: 4 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2235, allocations: 0 / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.2244, allocations: 321.1 kB / 0.7903 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2244, allocations: 81.09 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.2245, allocations: 12 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.2255, allocations: 35.95 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.2255, allocations: 15.94 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.2256, allocations: 7.984 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.2256, allocations: 87.28 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2256, allocations: 0 / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004086/0.2261, allocations: 99.98 kB / 0.7906 GB, free: 5.68 MB / 0.6075 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.00122/0.2273, allocations: 0.8701 MB / 0.7915 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009365/0.2282, allocations: 243.9 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2282, allocations: 0 / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.2286, allocations: 91.89 kB / 0.7918 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2289, allocations: 11.98 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.235, allocations: 2.682 MB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2353, allocations: 0.6885 MB / 0.7951 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004925/0.2358, allocations: 56.22 kB / 0.7951 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.2362, allocations: 19.42 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.2362, allocations: 3.938 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5356/0.7718, allocations: 9.76 MB / 0.8047 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12, allocations: 6.5 kB / 0.8047 GB, free: 7.137 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)