Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.001132/0.001132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 194.5 kB / 16.25 MB, free: 6.617 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.034/1.034, allocations: 143.1 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5138 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.182, allocations: 82.05 MB / 0.5939 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002765/0.1849, allocations: 1.545 MB / 0.5954 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.1852, allocations: 112.5 kB / 0.5955 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1852, allocations: 0 / 0.5955 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.1853, allocations: 0 / 0.5955 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.1854, allocations: 15.91 kB / 0.5955 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1856, allocations: 15.98 kB / 0.5956 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.1857, allocations: 43.86 kB / 0.5956 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1858, allocations: 15.98 kB / 0.5956 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.1859, allocations: 11.94 kB / 0.5956 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.1859, allocations: 27.91 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1859, allocations: 4 kB / 0.5957 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.186, allocations: 19.98 kB / 0.5957 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.1861, allocations: 19.91 kB / 0.5957 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.1861, allocations: 19.88 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1862, allocations: 55.8 kB / 0.5958 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1862, allocations: 0 / 0.5958 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1862, allocations: 0 / 0.5958 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1862, allocations: 4 kB / 0.5958 GB, free: 7.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005226/0.1868, allocations: 379.5 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1868, allocations: 8.031 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.1869, allocations: 34.75 kB / 0.5962 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1869, allocations: 4.844 kB / 0.5962 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.187, allocations: 180.2 kB / 0.5963 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.187, allocations: 4.375 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.1871, allocations: 384 / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1874, allocations: 78.2 kB / 0.5964 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1874, allocations: 7.938 kB / 0.5964 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1874, allocations: 0 / 0.5964 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1874, allocations: 0 / 0.5964 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1878, allocations: 71.92 kB / 0.5965 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1883, allocations: 296.7 kB / 0.5968 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1885, allocations: 66.47 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1887, allocations: 48.84 kB / 0.5969 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.189, allocations: 113.1 kB / 0.597 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.189, allocations: 38.55 kB / 0.597 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.189, allocations: 0 / 0.597 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005936/0.1896, allocations: 145.5 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1897, allocations: 51.41 kB / 0.5972 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1899, allocations: 132.1 kB / 0.5974 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.1899, allocations: 25.7 kB / 0.5974 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.19, allocations: 92.05 kB / 0.5975 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.19, allocations: 7.906 kB / 0.5975 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1901, allocations: 13.72 kB / 0.5975 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1903, allocations: 326.8 kB / 0.5978 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1904, allocations: 43.95 kB / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1906, allocations: 31.97 kB / 0.5979 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.1908, allocations: 84.72 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1909, allocations: 0 / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003214/0.1912, allocations: 117.5 kB / 0.5981 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1912, allocations: 4 kB / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1912, allocations: 0 / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1912, allocations: 0 / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1914, allocations: 19.98 kB / 0.5981 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1914, allocations: 0 / 0.5981 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.1915, allocations: 15.97 kB / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1915, allocations: 0 / 0.5981 GB, free: 5.312 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 (3): * Single equations (assignments): 3 * 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 8.493e-05/0.1916, allocations: 117.8 kB / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1916, allocations: 7.906 kB / 0.5982 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.192, allocations: 121.5 kB / 0.5983 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.192, allocations: 3.938 kB / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.192, allocations: 0 / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1921, allocations: 0 / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1923, allocations: 185.6 kB / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1923, allocations: 0 / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1924, allocations: 11.98 kB / 0.5985 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1924, allocations: 4 kB / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1925, allocations: 4 kB / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1925, allocations: 0 / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1925, allocations: 0 / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.1929, allocations: 203.8 kB / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1929, allocations: 85.02 kB / 0.5988 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.193, allocations: 4 kB / 0.5988 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1931, allocations: 11.98 kB / 0.5988 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1931, allocations: 4.031 kB / 0.5988 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1931, allocations: 7.922 kB / 0.5988 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.1932, allocations: 107.2 kB / 0.5989 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1932, allocations: 0 / 0.5989 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000265/0.1935, allocations: 12 kB / 0.599 GB, free: 4.332 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 (3): * Single equations (assignments): 3 * 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.0006984/0.1942, allocations: 0.7474 MB / 0.5997 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.1946, allocations: 87.86 kB / 0.5998 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1946, allocations: 0 / 0.5998 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1948, allocations: 39.95 kB / 0.5998 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.195, allocations: 11.94 kB / 0.5998 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.1955, allocations: 195.1 kB / 0.6 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1958, allocations: 0.6885 MB / 0.6007 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.1958, allocations: 0 / 0.6007 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1959, allocations: 19.44 kB / 0.6007 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1959, allocations: 0 / 0.6007 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.2098, allocations: 1.684 MB / 0.6023 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.2101, allocations: 204.3 kB / 0.6025 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.932, allocations: 7.25 kB / 0.6025 GB, free: 0.6406 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)