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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 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.001141/0.001141, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 282.2 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 103.3 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001883/0.146, allocations: 0.6183 MB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.1465, allocations: 203.9 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1465, allocations: 0 / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1465, allocations: 0.5 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1467, allocations: 13.78 kB / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1469, allocations: 75.69 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.147, allocations: 31.91 kB / 0.6812 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.147, allocations: 8 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.1471, allocations: 15.92 kB / 0.6812 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.1471, allocations: 23.91 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1471, allocations: 0 / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1473, allocations: 111.7 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.1473, allocations: 4 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.1474, allocations: 19.86 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1476, allocations: 103.7 kB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1476, allocations: 0 / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1476, allocations: 4 kB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1476, allocations: 0 / 0.6815 GB, free: 15.35 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.0004912/0.1481, allocations: 367.7 kB / 0.6818 GB, free: 14.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1481, allocations: 8.031 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.1482, allocations: 34.75 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1482, allocations: 8.844 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1483, allocations: 172.3 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1483, allocations: 4.312 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1484, allocations: 4.375 kB / 0.6821 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1485, allocations: 50.23 kB / 0.6821 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1485, allocations: 15.84 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1485, allocations: 0 / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1486, allocations: 3.984 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1487, allocations: 35.95 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.149, allocations: 240.9 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1492, allocations: 82.41 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1493, allocations: 24.94 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1493, allocations: 0 / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1493, allocations: 34.56 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1493, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02817/0.1775, allocations: 1.609 MB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1776, allocations: 51.41 kB / 0.6842 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1777, allocations: 121.8 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.1778, allocations: 29.7 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1778, allocations: 84.12 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1779, allocations: 27.56 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.1781, allocations: 33.7 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.1782, allocations: 318.8 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.1787, allocations: 143.9 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.1792, allocations: 143.9 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.1803, allocations: 296.8 kB / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1803, allocations: 4 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001207/0.1815, allocations: 329.5 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1815, allocations: 14.03 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1815, allocations: 0 / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1815, allocations: 0 / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.1832, allocations: 59.94 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1832, allocations: 4 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.1846, allocations: 43.94 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.1847, allocations: 8 kB / 0.6857 GB, free: 10.76 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.0001746/0.1849, allocations: 123 kB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.185, allocations: 7.891 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.1851, allocations: 21.03 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1851, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1851, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1851, allocations: 0 / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/0.191, allocations: 0.8415 MB / 0.6867 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1911, allocations: 0 / 0.6867 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.1923, allocations: 63.81 kB / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1923, allocations: 3.938 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.1923, allocations: 7.938 kB / 0.6868 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1923, allocations: 8.047 kB / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1924, allocations: 0 / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.1933, allocations: 321.2 kB / 0.6871 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1934, allocations: 85.02 kB / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.1935, allocations: 3.938 kB / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.1945, allocations: 43.95 kB / 0.6872 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.1946, allocations: 8.344 kB / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.1946, allocations: 4 kB / 0.6872 GB, free: 9.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.1947, allocations: 95.27 kB / 0.6873 GB, free: 9.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1947, allocations: 0 / 0.6873 GB, free: 9.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000404/0.1951, allocations: 96 kB / 0.6874 GB, free: 8.938 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.001322/0.1964, allocations: 0.8742 MB / 0.6883 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1975, allocations: 240 kB / 0.6885 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1975, allocations: 0 / 0.6885 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.1979, allocations: 100 kB / 0.6886 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1982, allocations: 4 kB / 0.6886 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.2053, allocations: 2.688 MB / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2056, allocations: 0.6853 MB / 0.6919 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.2061, allocations: 51.98 kB / 0.6919 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.2066, allocations: 19.89 kB / 0.692 GB, free: 4.133 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2066, allocations: 4 kB / 0.692 GB, free: 4.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.2343, allocations: 9.789 MB / 0.7015 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.465, allocations: 3.938 kB / 0.7015 GB, free: 10.41 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)