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.001169/0.001169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001162/0.001162, allocations: 192.7 kB / 16.25 MB, free: 6.629 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.151/1.151, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.506/1.506, 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.001318/0.001318, allocations: 66.48 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002759/0.1653, allocations: 1.841 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1672, allocations: 1.597 MB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.1673, allocations: 4 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.1674, allocations: 27.84 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.1675, allocations: 15.86 kB / 0.7864 GB, free: 10.31 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.000536/0.1681, allocations: 207.5 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1683, allocations: 211.5 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1684, allocations: 66.09 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1685, allocations: 91.69 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.1687, allocations: 71.73 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1687, allocations: 16 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.169, allocations: 191.7 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.1691, allocations: 71.8 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.1692, allocations: 83.53 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1695, allocations: 363 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1695, allocations: 0 / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1695, allocations: 0 / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1695, allocations: 0 / 0.7877 GB, free: 8.961 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.0007724/0.1703, allocations: 0.5572 MB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1703, allocations: 8.031 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.1704, allocations: 50.73 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1704, allocations: 24.66 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1706, allocations: 248.6 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1707, allocations: 16.12 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.1707, allocations: 23.98 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.171, allocations: 186 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.171, allocations: 0 / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.171, allocations: 7.984 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1711, allocations: 4 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1713, allocations: 111.9 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1723, allocations: 0.5665 MB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.173, allocations: 254.6 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1732, allocations: 84.81 kB / 0.7898 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1732, allocations: 4 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.1734, allocations: 151.3 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1735, allocations: 0 / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005769/0.174, allocations: 352.8 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1741, allocations: 71.33 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1742, allocations: 174.6 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1742, allocations: 41.7 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.1743, allocations: 124.5 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.1744, allocations: 71.09 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.1744, allocations: 69.69 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.1745, allocations: 342.8 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1747, allocations: 95.72 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1749, allocations: 232.6 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1753, allocations: 332 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1753, allocations: 0 / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004941/0.1758, allocations: 364.9 kB / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1758, allocations: 8 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1759, allocations: 4 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1759, allocations: 8 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.176, allocations: 60.25 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1761, allocations: 11.94 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1762, allocations: 39.73 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1762, allocations: 12 kB / 0.7922 GB, free: 3.977 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.0001261/0.1764, allocations: 176.2 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1764, allocations: 15.81 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1765, allocations: 25.86 kB / 0.7924 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.1765, allocations: 7.938 kB / 0.7924 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1765, allocations: 4 kB / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1765, allocations: 144 / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.1773, allocations: 0.6348 MB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1773, allocations: 0 / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1774, allocations: 23.98 kB / 0.7931 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1774, allocations: 7.938 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1774, allocations: 0 / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1774, allocations: 4 kB / 0.7931 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1774, allocations: 3.984 kB / 0.7931 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.178, allocations: 473.2 kB / 0.7935 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1781, allocations: 100.8 kB / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.1781, allocations: 16.03 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1783, allocations: 15.97 kB / 0.7937 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.1783, allocations: 19.98 kB / 0.7937 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1784, allocations: 7.984 kB / 0.7937 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.1784, allocations: 136.8 kB / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1784, allocations: 0 / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003528/0.1788, allocations: 111.8 kB / 0.7939 GB, free: 2.121 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.001207/0.18, allocations: 1.217 MB / 0.7951 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1805, allocations: 280.4 kB / 0.7954 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1805, allocations: 0 / 0.7954 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1806, allocations: 102.6 kB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1809, allocations: 19.98 kB / 0.7955 GB, free: 0.5508 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.002634/0.1836, allocations: 2.792 MB / 0.7982 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1838, allocations: 0.7479 MB / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.1839, allocations: 45.91 kB / 0.799 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.184, allocations: 59.42 kB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.184, allocations: 0 / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5489/0.7329, allocations: 5.266 MB / 0.8042 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.7332, allocations: 279.6 kB / 0.8045 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.379, allocations: 0 / 0.8045 GB, free: 7.148 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)