Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 180 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006759/0.0006759, allocations: 94.3 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 12.98 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.139, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001491/0.1406, allocations: 1.521 MB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.142, allocations: 1.627 MB / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1421, allocations: 0 / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1422, allocations: 19.86 kB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.1423, allocations: 11.86 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0003992/0.1427, allocations: 199.5 kB / 0.8995 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1429, allocations: 207.5 kB / 0.8997 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.143, allocations: 61.81 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.1431, allocations: 75.69 kB / 0.8998 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.1432, allocations: 59.69 kB / 0.8999 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1432, allocations: 8 kB / 0.8999 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.1435, allocations: 183.7 kB / 0.9001 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1436, allocations: 59.81 kB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1436, allocations: 75.53 kB / 0.9002 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1439, allocations: 347.1 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1439, allocations: 0 / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1439, allocations: 4 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1439, allocations: 0 / 0.9005 GB, free: 63.6 MB / 0.6042 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.0006172/0.1445, allocations: 0.5261 MB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1446, allocations: 8.031 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1446, allocations: 50.73 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1446, allocations: 24.73 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1448, allocations: 240.6 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1448, allocations: 16.12 kB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1449, allocations: 27.91 kB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1451, allocations: 185.4 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1451, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1452, allocations: 11.94 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1452, allocations: 8 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.1454, allocations: 119.9 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.1463, allocations: 0.5704 MB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1469, allocations: 270.6 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1471, allocations: 92.8 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1471, allocations: 8 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1473, allocations: 150.3 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.552e-06/0.1473, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0004912/0.1478, allocations: 361.2 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1478, allocations: 71.31 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.1479, allocations: 179.2 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.148, allocations: 45.69 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.148, allocations: 124.4 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1481, allocations: 67.19 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1481, allocations: 41.7 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.1481, allocations: 338.8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1483, allocations: 95.94 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1485, allocations: 239.7 kB / 0.9043 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1488, allocations: 343.9 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1488, allocations: 0 / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004253/0.1492, allocations: 385.1 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.1492, allocations: 4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1492, allocations: 4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1493, allocations: 8 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1494, allocations: 63.78 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1494, allocations: 4 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1496, allocations: 47.95 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1496, allocations: 15.98 kB / 0.9051 GB, free: 58.57 MB / 0.6042 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 9.811e-05/0.1497, allocations: 175.4 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1497, allocations: 19.8 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.1498, allocations: 17.88 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1498, allocations: 7.938 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1498, allocations: 0 / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1498, allocations: 3.984 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.1505, allocations: 0.638 MB / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1505, allocations: 0 / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1506, allocations: 23.92 kB / 0.9059 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1506, allocations: 7.938 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1506, allocations: 7.984 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1506, allocations: 4 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1506, allocations: 0 / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.1511, allocations: 487.7 kB / 0.9064 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.1512, allocations: 96.8 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1512, allocations: 16.03 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1513, allocations: 27.97 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1514, allocations: 23.91 kB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1514, allocations: 7.938 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.1515, allocations: 136.3 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1515, allocations: 0 / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003166/0.1518, allocations: 91.98 kB / 0.9068 GB, free: 56.71 MB / 0.6042 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.001013/0.1528, allocations: 1.243 MB / 0.908 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1532, allocations: 247.7 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1532, allocations: 0 / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1533, allocations: 104.8 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1536, allocations: 27.98 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.002146/0.1558, allocations: 2.826 MB / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1559, allocations: 0.7404 MB / 0.9119 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.156, allocations: 49.91 kB / 0.9119 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.1561, allocations: 63.41 kB / 0.912 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1561, allocations: 0 / 0.912 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/0.5699, allocations: 4.969 MB / 0.9168 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.5701, allocations: 295.1 kB / 0.9171 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.486, allocations: 0 / 0.9171 GB, free: 46.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Examples_SimpleRoom.fmu > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)