Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001151/0.001151, allocations: 197.6 kB / 16.14 MB, free: 6.707 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.766 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.699/1.699, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.002346/0.002346, allocations: 66.19 kB / 0.6709 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2057, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002561/0.2083, allocations: 1.731 MB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2102, allocations: 1.439 MB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2103, allocations: 7.938 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.2106, allocations: 79.64 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2107, allocations: 67.66 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.2112, allocations: 222.3 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2115, allocations: 263 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.2115, allocations: 13.48 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.2116, allocations: 71.64 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2117, allocations: 91.67 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2117, allocations: 4 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.2123, allocations: 355.4 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.2124, allocations: 71.73 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.2125, allocations: 95.45 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.213, allocations: 406.8 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.213, allocations: 0 / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.51e-07/0.213, allocations: 0 / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.213, allocations: 4 kB / 0.7876 GB, free: 9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008008/0.2138, allocations: 0.5412 MB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2138, allocations: 16.02 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.2139, allocations: 34.75 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.2139, allocations: 20.66 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.2143, allocations: 279.6 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.836e-05/0.2144, allocations: 71.89 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2144, allocations: 4.375 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2146, allocations: 89.59 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2146, allocations: 0 / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2146, allocations: 0 / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2146, allocations: 0 / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2149, allocations: 103.9 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.2151, allocations: 249.4 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2165, allocations: 298.3 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2167, allocations: 56.83 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.2168, allocations: 108.9 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2168, allocations: 38.55 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2168, allocations: 0 / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004478/0.2173, allocations: 205.3 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2173, allocations: 55.41 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.2176, allocations: 295.2 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2176, allocations: 29.7 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2177, allocations: 128.4 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2177, allocations: 19.75 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.2178, allocations: 53.69 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2179, allocations: 338.8 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2181, allocations: 155.9 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2183, allocations: 155.7 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.2187, allocations: 294.6 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2187, allocations: 4 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007049/0.2194, allocations: 404.8 kB / 0.7914 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2195, allocations: 4 kB / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2195, allocations: 4 kB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2195, allocations: 0 / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2196, allocations: 23.86 kB / 0.7915 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.2196, allocations: 4 kB / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2198, allocations: 35.52 kB / 0.7915 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2198, allocations: 0 / 0.7915 GB, free: 4.688 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001029/0.2199, allocations: 133.8 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2199, allocations: 23.66 kB / 0.7917 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.2203, allocations: 175.3 kB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2203, allocations: 3.938 kB / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2203, allocations: 0 / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.2203, allocations: 0 / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2205, allocations: 237.6 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2205, allocations: 3.938 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.2206, allocations: 15.98 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2206, allocations: 0 / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2206, allocations: 8 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2206, allocations: 0 / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2206, allocations: 0 / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.2209, allocations: 180.8 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.221, allocations: 108.7 kB / 0.7924 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.2211, allocations: 8 kB / 0.7924 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.2212, allocations: 3.984 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2212, allocations: 11.94 kB / 0.7924 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2212, allocations: 4 kB / 0.7924 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001864/0.2214, allocations: 193.9 kB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2214, allocations: 4 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005716/0.222, allocations: 115.9 kB / 0.7927 GB, free: 3.383 MB / 0.6075 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.0009791/0.223, allocations: 0.8737 MB / 0.7935 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.2235, allocations: 359.2 kB / 0.7939 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2235, allocations: 4 kB / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.2236, allocations: 59.91 kB / 0.7939 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2239, allocations: 32.64 kB / 0.794 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.2269, allocations: 2.717 MB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2272, allocations: 0.7356 MB / 0.7973 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.699e-05/0.2273, allocations: 21.08 kB / 0.7974 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.2274, allocations: 55.42 kB / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2274, allocations: 0 / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.2437, allocations: 5.503 MB / 0.8028 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.2439, allocations: 221.5 kB / 0.803 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.979, allocations: 0 / 0.803 GB, free: 8.805 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)