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.001146/0.001145, allocations: 115.3 kB / 15.34 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.001179/0.001179, allocations: 192.2 kB / 16.25 MB, free: 6.586 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.265/1.265, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.547/1.547, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001224/0.001224, allocations: 66.27 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002743/0.1661, allocations: 1.735 MB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.168, allocations: 1.404 MB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.1681, allocations: 8 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1684, allocations: 75.66 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1685, allocations: 71.58 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.1691, allocations: 244.9 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1693, allocations: 187.2 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1694, allocations: 9.5 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.1695, allocations: 83.62 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1696, allocations: 95.59 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1696, allocations: 8 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.1701, allocations: 335.4 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1702, allocations: 67.78 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.1703, allocations: 95.36 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.1707, allocations: 398.9 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1707, allocations: 0 / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.1707, allocations: 11.92 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1708, allocations: 0 / 0.7876 GB, free: 8.988 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.0008223/0.1716, allocations: 0.5528 MB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1716, allocations: 8.031 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.1717, allocations: 42.69 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1717, allocations: 24.66 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1721, allocations: 275.6 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.1722, allocations: 63.97 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1722, allocations: 384 / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1724, allocations: 97.53 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1724, allocations: 3.984 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1724, allocations: 0 / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1724, allocations: 0 / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.1726, allocations: 103.9 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.1729, allocations: 257.5 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.1742, allocations: 302.4 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1744, allocations: 56.83 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1745, allocations: 104.9 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1746, allocations: 34.56 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1746, allocations: 0 / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004397/0.175, allocations: 205.3 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.175, allocations: 51.41 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1753, allocations: 303.2 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1753, allocations: 29.7 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1754, allocations: 124.5 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1754, allocations: 15.73 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.1755, allocations: 65.67 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1756, allocations: 330.8 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.1758, allocations: 155.9 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.176, allocations: 159.7 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1765, allocations: 294.3 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1765, allocations: 0 / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006343/0.1771, allocations: 404.7 kB / 0.7915 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1771, allocations: 8 kB / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1771, allocations: 0 / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1772, allocations: 0 / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.1772, allocations: 15.98 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.1773, allocations: 0 / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1774, allocations: 31.53 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1774, allocations: 12 kB / 0.7916 GB, free: 4.664 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 9.075e-05/0.1775, allocations: 130.5 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1776, allocations: 23.66 kB / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.1779, allocations: 167.3 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1779, allocations: 4 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1779, allocations: 4 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1779, allocations: 3.938 kB / 0.7919 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1781, allocations: 237.5 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1781, allocations: 3.938 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.1782, allocations: 15.98 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1782, allocations: 0 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1782, allocations: 320 / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1782, allocations: 4 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1782, allocations: 4 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1785, allocations: 184.7 kB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.1786, allocations: 104.8 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1786, allocations: 7.984 kB / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.1787, allocations: 4 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1788, allocations: 11.98 kB / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1788, allocations: 0 / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001588/0.1789, allocations: 197.9 kB / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1789, allocations: 0 / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003028/0.1793, allocations: 111.9 kB / 0.7928 GB, free: 3.371 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.001165/0.1804, allocations: 0.8852 MB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.1809, allocations: 363.4 kB / 0.794 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1809, allocations: 0 / 0.794 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.181, allocations: 59.91 kB / 0.794 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1813, allocations: 36.97 kB / 0.7941 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.1838, allocations: 2.719 MB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1841, allocations: 0.7357 MB / 0.7974 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.488e-05/0.1842, allocations: 21.08 kB / 0.7975 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1843, allocations: 59.41 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1843, allocations: 3.938 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1984, allocations: 5.603 MB / 0.803 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.1986, allocations: 218.9 kB / 0.8032 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.5, allocations: 2.875 kB / 0.8032 GB, free: 8.695 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)