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.0008181/0.0008182, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00461/0.00461, allocations: 171.6 kB / 16.27 MB, free: 6.648 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.161/1.161, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.5/1.5, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004524/0.0004524, allocations: 14.09 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.163, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001665/0.1647, allocations: 1.492 MB / 0.7895 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1664, allocations: 1.585 MB / 0.791 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.1665, allocations: 4 kB / 0.791 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.1666, allocations: 23.86 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.1667, allocations: 23.84 kB / 0.7911 GB, free: 8.348 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.0004394/0.1672, allocations: 195.5 kB / 0.7912 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1674, allocations: 199.5 kB / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1675, allocations: 58.06 kB / 0.7915 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1676, allocations: 75.69 kB / 0.7916 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1677, allocations: 63.73 kB / 0.7916 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1678, allocations: 4 kB / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.1681, allocations: 183.7 kB / 0.7918 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.1681, allocations: 59.81 kB / 0.7919 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.1682, allocations: 105.2 kB / 0.792 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1686, allocations: 343 kB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1686, allocations: 0 / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1686, allocations: 0 / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1686, allocations: 0 / 0.7923 GB, free: 7.078 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.0007463/0.1693, allocations: 0.53 MB / 0.7928 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1694, allocations: 12.03 kB / 0.7928 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1694, allocations: 46.73 kB / 0.7929 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1695, allocations: 24.66 kB / 0.7929 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1697, allocations: 248.6 kB / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1697, allocations: 20.12 kB / 0.7931 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1698, allocations: 27.97 kB / 0.7932 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.1701, allocations: 189.4 kB / 0.7933 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1701, allocations: 0 / 0.7933 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1701, allocations: 11.98 kB / 0.7934 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1701, allocations: 4 kB / 0.7934 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.1704, allocations: 120.5 kB / 0.7935 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1714, allocations: 0.5704 MB / 0.794 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.1722, allocations: 282.6 kB / 0.7943 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1723, allocations: 88.81 kB / 0.7944 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.1724, allocations: 4 kB / 0.7944 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.1726, allocations: 155.3 kB / 0.7945 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1726, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005896/0.1732, allocations: 356.6 kB / 0.7949 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1733, allocations: 71.33 kB / 0.7949 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1734, allocations: 182.6 kB / 0.7951 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1735, allocations: 37.7 kB / 0.7952 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1735, allocations: 128.5 kB / 0.7953 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.1736, allocations: 71.09 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1736, allocations: 41.69 kB / 0.7954 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.1737, allocations: 334.8 kB / 0.7957 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.1739, allocations: 103.7 kB / 0.7958 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1742, allocations: 240.6 kB / 0.796 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.1746, allocations: 335.9 kB / 0.7964 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1746, allocations: 0 / 0.7964 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005256/0.1751, allocations: 376.9 kB / 0.7967 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1751, allocations: 12.45 kB / 0.7967 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1751, allocations: 4 kB / 0.7967 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1752, allocations: 12 kB / 0.7967 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1753, allocations: 63.78 kB / 0.7968 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1754, allocations: 8 kB / 0.7968 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1755, allocations: 43.67 kB / 0.7969 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1756, allocations: 16 kB / 0.7969 GB, free: 2.031 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.000134/0.1757, allocations: 176.6 kB / 0.797 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1757, allocations: 15.81 kB / 0.7971 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1758, allocations: 21.86 kB / 0.7971 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1758, allocations: 7.938 kB / 0.7971 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1758, allocations: 0 / 0.7971 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1758, allocations: 0 / 0.7971 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.1766, allocations: 0.6426 MB / 0.7977 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1766, allocations: 0 / 0.7977 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1767, allocations: 23.98 kB / 0.7977 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1768, allocations: 7.938 kB / 0.7977 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1768, allocations: 8 kB / 0.7977 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1768, allocations: 4 kB / 0.7978 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1768, allocations: 0 / 0.7978 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.1774, allocations: 487 kB / 0.7982 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1774, allocations: 92.86 kB / 0.7983 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.1775, allocations: 16.03 kB / 0.7983 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1777, allocations: 23.97 kB / 0.7983 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1777, allocations: 19.98 kB / 0.7984 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1777, allocations: 11.98 kB / 0.7984 GB, free: 400 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.1778, allocations: 133.1 kB / 0.7985 GB, free: 268 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1778, allocations: 0 / 0.7985 GB, free: 268 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003607/0.1782, allocations: 111.8 kB / 0.7986 GB, free: 156 kB / 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.001256/0.1795, allocations: 1.241 MB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.1799, allocations: 240.3 kB / 0.8 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1799, allocations: 4.312 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1801, allocations: 103.8 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1803, allocations: 23.98 kB / 0.8002 GB, free: 14.59 MB / 0.6231 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.002715/0.1831, allocations: 2.849 MB / 0.803 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1833, allocations: 0.7365 MB / 0.8037 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.1834, allocations: 49.91 kB / 0.8037 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.1835, allocations: 63.41 kB / 0.8038 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1835, allocations: 0 / 0.8038 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/0.5828, allocations: 4.939 MB / 0.8086 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.5831, allocations: 284.1 kB / 0.8089 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.671, allocations: 4 kB / 0.8089 GB, free: 5.5 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)