Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005107/0.005107, allocations: 99.69 kB / 15.73 MB, free: 6.043 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.001529/0.001529, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8814/0.8814, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.22 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 82.03 MB / 0.6755 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001602/0.181, allocations: 0.6241 MB / 0.6761 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1828, allocations: 1.385 MB / 0.6774 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.1828, allocations: 0 / 0.6774 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.1829, allocations: 0 / 0.6774 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.1829, allocations: 7.938 kB / 0.6774 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.1835, allocations: 175.5 kB / 0.6776 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1836, allocations: 59.94 kB / 0.6776 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.1837, allocations: 0 / 0.6776 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.1837, allocations: 19.92 kB / 0.6777 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.1838, allocations: 27.91 kB / 0.6777 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1838, allocations: 0 / 0.6777 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.1841, allocations: 199.7 kB / 0.6779 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1842, allocations: 11.98 kB / 0.6779 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.1843, allocations: 35.8 kB / 0.6779 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1845, allocations: 183.7 kB / 0.6781 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1845, allocations: 0 / 0.6781 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.647e-06/0.1845, allocations: 0 / 0.6781 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1845, allocations: 3.938 kB / 0.6781 GB, free: 7.871 MB / 0.5137 GB 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.000451/0.185, allocations: 450.3 kB / 0.6785 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1851, allocations: 11.97 kB / 0.6785 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.1851, allocations: 34.75 kB / 0.6786 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1851, allocations: 0.9375 kB / 0.6786 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1853, allocations: 174.5 kB / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1853, allocations: 4.375 kB / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1853, allocations: 12.36 kB / 0.6788 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1855, allocations: 97.7 kB / 0.6789 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1855, allocations: 4 kB / 0.6789 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1855, allocations: 0 / 0.6789 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1855, allocations: 0 / 0.6789 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.1856, allocations: 59.95 kB / 0.6789 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1858, allocations: 181.6 kB / 0.6791 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1859, allocations: 78.53 kB / 0.6792 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.186, allocations: 72.89 kB / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-06/0.186, allocations: 0 / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1861, allocations: 34.5 kB / 0.6793 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1861, allocations: 3.938 kB / 0.6793 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003992/0.1865, allocations: 255.2 kB / 0.6795 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1866, allocations: 81.11 kB / 0.6796 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1867, allocations: 141.8 kB / 0.6797 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1867, allocations: 29.7 kB / 0.6798 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1868, allocations: 96.12 kB / 0.6798 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1868, allocations: 7.906 kB / 0.6799 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1869, allocations: 29.7 kB / 0.6799 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.187, allocations: 322.8 kB / 0.6802 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1872, allocations: 99.94 kB / 0.6803 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1873, allocations: 103.9 kB / 0.6804 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1876, allocations: 285.6 kB / 0.6807 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1876, allocations: 0 / 0.6807 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003697/0.188, allocations: 324.8 kB / 0.681 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.1881, allocations: 77.2 kB / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1881, allocations: 4 kB / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1881, allocations: 0 / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1881, allocations: 0 / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1881, allocations: 0 / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1882, allocations: 11.89 kB / 0.6811 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1883, allocations: 4 kB / 0.6811 GB, free: 4.547 MB / 0.5137 GB 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 0.0001146/0.1884, allocations: 159.5 kB / 0.6812 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.1884, allocations: 11.89 kB / 0.6812 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.1884, allocations: 8.25 kB / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1884, allocations: 0 / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1884, allocations: 0 / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1884, allocations: 3.938 kB / 0.6812 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1886, allocations: 173.6 kB / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.1886, allocations: 3.938 kB / 0.6814 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1886, allocations: 3.938 kB / 0.6814 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1886, allocations: 4 kB / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1886, allocations: 4 kB / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1886, allocations: 0 / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1886, allocations: 0 / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.1889, allocations: 226.7 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.189, allocations: 85 kB / 0.6817 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.189, allocations: 4 kB / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.189, allocations: 3.984 kB / 0.6817 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.1891, allocations: 12.17 kB / 0.6817 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1891, allocations: 7.984 kB / 0.6817 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.1892, allocations: 103.2 kB / 0.6818 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1892, allocations: 0 / 0.6818 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002933/0.1895, allocations: 71.86 kB / 0.6819 GB, free: 3.566 MB / 0.5137 GB 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.0007382/0.1902, allocations: 0.817 MB / 0.6827 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.1907, allocations: 370.6 kB / 0.6831 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1907, allocations: 7.938 kB / 0.6831 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1908, allocations: 127.4 kB / 0.6832 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.191, allocations: 10.8 kB / 0.6832 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1933, allocations: 2.143 MB / 0.6853 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1936, allocations: 0.6924 MB / 0.686 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.161e-06/0.1936, allocations: 4 kB / 0.686 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1937, allocations: 15.44 kB / 0.686 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1937, allocations: 4.031 kB / 0.686 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.2193, allocations: 3.321 MB / 0.6892 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.162, allocations: 3.375 kB / 0.6892 GB, free: 11.99 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)