Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.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.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom",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.001108/0.001108, 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.001126/0.001126, allocations: 195.3 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.137/1.137, allocations: 205.1 MB / 222 MB, free: 4.965 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.501/1.501, allocations: 292.3 MB / 0.5484 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.001234/0.001234, allocations: 68.56 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002582/0.1661, allocations: 1.846 MB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1679, allocations: 1.612 MB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1679, allocations: 7.938 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1681, allocations: 23.86 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.1682, allocations: 19.86 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1686, allocations: 195.6 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1689, allocations: 195.5 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.169, allocations: 54.12 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1691, allocations: 83.67 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1692, allocations: 83.67 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1693, allocations: 8 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.1696, allocations: 191.6 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.1696, allocations: 55.88 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.1697, allocations: 79.48 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.1701, allocations: 355.1 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1701, allocations: 4 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1701, allocations: 0 / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1701, allocations: 0 / 0.7875 GB, free: 9.07 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009696/0.1711, allocations: 0.5534 MB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1711, allocations: 11.97 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.1712, allocations: 54.67 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1712, allocations: 28.66 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1715, allocations: 240.6 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1715, allocations: 24.11 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1715, allocations: 16 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.1719, allocations: 189.4 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1719, allocations: 0 / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1719, allocations: 8 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1719, allocations: 0 / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1721, allocations: 120.5 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1732, allocations: 0.5547 MB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.1738, allocations: 254.6 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.174, allocations: 84.81 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.174, allocations: 4 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1743, allocations: 152.9 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.1743, allocations: 4 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005922/0.1749, allocations: 342.1 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.175, allocations: 71.33 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1751, allocations: 174.7 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1751, allocations: 45.69 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1752, allocations: 120.5 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.1753, allocations: 71.09 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.1753, allocations: 73.69 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1755, allocations: 330.8 kB / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1756, allocations: 103.7 kB / 0.791 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.1759, allocations: 228.6 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1763, allocations: 336 kB / 0.7915 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1763, allocations: 0 / 0.7915 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005263/0.1768, allocations: 364.9 kB / 0.7918 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1768, allocations: 8.781 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1768, allocations: 7.938 kB / 0.7919 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1768, allocations: 8.469 kB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.177, allocations: 63.84 kB / 0.7919 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.177, allocations: 11.94 kB / 0.7919 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1772, allocations: 35.67 kB / 0.792 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1772, allocations: 20 kB / 0.792 GB, free: 4.082 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 0.0001366/0.1774, allocations: 172 kB / 0.7922 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1774, allocations: 23.8 kB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.1774, allocations: 17.88 kB / 0.7922 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1775, allocations: 3.938 kB / 0.7922 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1775, allocations: 0 / 0.7922 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1775, allocations: 3.984 kB / 0.7922 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.1783, allocations: 0.6415 MB / 0.7928 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1783, allocations: 0 / 0.7928 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1784, allocations: 19.98 kB / 0.7929 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1784, allocations: 7.938 kB / 0.7929 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1785, allocations: 11.98 kB / 0.7929 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1785, allocations: 0 / 0.7929 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1785, allocations: 0 / 0.7929 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.1791, allocations: 474.3 kB / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1791, allocations: 96.86 kB / 0.7934 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1792, allocations: 12.03 kB / 0.7934 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1793, allocations: 23.97 kB / 0.7935 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1794, allocations: 12.22 kB / 0.7935 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1794, allocations: 11.98 kB / 0.7935 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.1795, allocations: 141.1 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1795, allocations: 0 / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003587/0.1799, allocations: 107.8 kB / 0.7937 GB, free: 2.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001295/0.1812, allocations: 1.215 MB / 0.7949 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1816, allocations: 243.9 kB / 0.7951 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1816, allocations: 7.938 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1818, allocations: 95.83 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.182, allocations: 19.98 kB / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1848, allocations: 2.802 MB / 0.798 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1851, allocations: 0.7368 MB / 0.7987 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.1852, allocations: 53.89 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.1853, allocations: 63.41 kB / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.1853, allocations: 3.938 kB / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7613/0.9466, allocations: 5.152 MB / 0.8039 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.9469, allocations: 283.3 kB / 0.8041 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.561, allocations: 0 / 0.8041 GB, free: 7.414 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)