Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001121/0.001121, 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.001413/0.001413, allocations: 191 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.103/1.103, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.178, allocations: 82.03 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003552/0.1816, allocations: 1.589 MB / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1828, allocations: 0.4997 MB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.183, allocations: 4 kB / 0.5964 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1832, allocations: 11.86 kB / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.1833, allocations: 15.8 kB / 0.5965 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1837, allocations: 35.95 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1839, allocations: 87.64 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1841, allocations: 36.22 kB / 0.5966 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1842, allocations: 43.84 kB / 0.5966 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1843, allocations: 47.83 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1844, allocations: 7.938 kB / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.1845, allocations: 12 kB / 0.5967 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1845, allocations: 19.92 kB / 0.5967 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.1846, allocations: 43.73 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1848, allocations: 87.91 kB / 0.5969 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1849, allocations: 4 kB / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1849, allocations: 0 / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.1849, allocations: 0 / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008273/0.1857, allocations: 401.1 kB / 0.5972 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1858, allocations: 8.031 kB / 0.5973 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.1858, allocations: 42.73 kB / 0.5973 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1859, allocations: 8.844 kB / 0.5973 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1861, allocations: 200.1 kB / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1861, allocations: 384 / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1862, allocations: 12.38 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1865, allocations: 101.8 kB / 0.5976 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1865, allocations: 0 / 0.5976 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1865, allocations: 8 kB / 0.5976 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1865, allocations: 4 kB / 0.5976 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.1868, allocations: 95.86 kB / 0.5977 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.1874, allocations: 380.5 kB / 0.5981 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1876, allocations: 62.48 kB / 0.5981 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1877, allocations: 48.95 kB / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.1878, allocations: 3.984 kB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1878, allocations: 34.56 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1878, allocations: 8 kB / 0.5982 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004768/0.1883, allocations: 157.5 kB / 0.5984 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1884, allocations: 59.28 kB / 0.5984 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1885, allocations: 136.3 kB / 0.5986 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1885, allocations: 29.7 kB / 0.5986 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.1886, allocations: 104 kB / 0.5987 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1886, allocations: 31.78 kB / 0.5987 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1887, allocations: 17.72 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1888, allocations: 322.8 kB / 0.599 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1889, allocations: 35.97 kB / 0.5991 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.189, allocations: 39.97 kB / 0.5991 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1892, allocations: 93.17 kB / 0.5992 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1892, allocations: 0 / 0.5992 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002819/0.1895, allocations: 125.5 kB / 0.5993 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1896, allocations: 4 kB / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1896, allocations: 0 / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1896, allocations: 11.86 kB / 0.5993 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1897, allocations: 23.92 kB / 0.5994 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1898, allocations: 0 / 0.5994 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.1898, allocations: 8 kB / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.1899, allocations: 7.984 kB / 0.5994 GB, free: 4.105 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 9.652e-05/0.19, allocations: 113.8 kB / 0.5995 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.19, allocations: 7.906 kB / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.1904, allocations: 150.2 kB / 0.5996 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1904, allocations: 7.938 kB / 0.5996 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1904, allocations: 0 / 0.5996 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1904, allocations: 0 / 0.5996 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1907, allocations: 205.5 kB / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1907, allocations: 0 / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1908, allocations: 19.97 kB / 0.5999 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1908, allocations: 4 kB / 0.5999 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1908, allocations: 4 kB / 0.5999 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1908, allocations: 3.938 kB / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1908, allocations: 0 / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1912, allocations: 219.4 kB / 0.6001 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1913, allocations: 85.02 kB / 0.6002 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1913, allocations: 0 / 0.6002 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1914, allocations: 27.86 kB / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.1915, allocations: 4.125 kB / 0.6002 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1915, allocations: 11.98 kB / 0.6002 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.1916, allocations: 104.7 kB / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1916, allocations: 0 / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002326/0.1918, allocations: 19.91 kB / 0.6003 GB, free: 3.035 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006896/0.1925, allocations: 0.7554 MB / 0.6011 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.1928, allocations: 107.9 kB / 0.6012 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1928, allocations: 0 / 0.6012 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1929, allocations: 47.97 kB / 0.6012 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1931, allocations: 11.94 kB / 0.6012 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1952, allocations: 1.597 MB / 0.6028 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3049/0.5001, allocations: 0.6961 MB / 0.6035 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.5003, allocations: 12.8 kB / 0.6035 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.5004, allocations: 29.66 kB / 0.6035 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5004, allocations: 0 / 0.6035 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.5198, allocations: 1.973 MB / 0.6054 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.304, allocations: 9.484 kB / 0.6054 GB, free: 43.44 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)