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 2.477/2.477, allocations: 252 MB / 267.3 MB, free: 10.8 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.001631/0.001631, allocations: 178.5 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.189/3.189, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.001099/0.001099, allocations: 82 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006223, allocations: 13.66 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3526, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003508/0.3562, allocations: 1.488 MB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.36, allocations: 1.6 MB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.3602, allocations: 4 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3605, allocations: 19.86 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3608, allocations: 11.88 kB / 0.904 GB, free: 60.23 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.001116/0.362, allocations: 203.5 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.3624, allocations: 203.4 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.3626, allocations: 57.89 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3629, allocations: 71.75 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3631, allocations: 63.69 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.3632, allocations: 7.938 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.3638, allocations: 183.7 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3639, allocations: 67.8 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3641, allocations: 93.25 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.3648, allocations: 351.3 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3648, allocations: 0 / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3648, allocations: 4 kB / 0.9052 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.3649, allocations: 0 / 0.9052 GB, free: 58.94 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.001301/0.3662, allocations: 0.5222 MB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.3662, allocations: 12.02 kB / 0.9057 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.563e-05/0.3664, allocations: 50.73 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/0.3665, allocations: 20.75 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.3668, allocations: 240.6 kB / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.3669, allocations: 20.12 kB / 0.9061 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.367, allocations: 27.91 kB / 0.9061 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.3675, allocations: 189.4 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3676, allocations: 3.938 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3676, allocations: 4 kB / 0.9063 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3676, allocations: 7.984 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3681, allocations: 127.9 kB / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3704, allocations: 0.5665 MB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3717, allocations: 286.5 kB / 0.9072 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.372, allocations: 88.81 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3721, allocations: 0 / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.3726, allocations: 158.5 kB / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.126e-06/0.3726, allocations: 0 / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.001139/0.3737, allocations: 361.2 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.3738, allocations: 67.34 kB / 0.9079 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3741, allocations: 175.2 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.3741, allocations: 41.69 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.3742, allocations: 124.5 kB / 0.9082 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.3743, allocations: 67.17 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.3744, allocations: 8 kB / 0.9083 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.3745, allocations: 334.8 kB / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.3748, allocations: 99.94 kB / 0.9087 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.3752, allocations: 239.7 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.376, allocations: 336 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.376, allocations: 4 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000939/0.377, allocations: 369.3 kB / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.377, allocations: 18.78 kB / 0.9096 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.377, allocations: 4 kB / 0.9096 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.3771, allocations: 4 kB / 0.9096 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.3774, allocations: 63.78 kB / 0.9097 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.3775, allocations: 8 kB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.3778, allocations: 51.67 kB / 0.9097 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3779, allocations: 12 kB / 0.9097 GB, free: 53.96 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],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.0002318/0.3781, allocations: 171.6 kB / 0.9099 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.3782, allocations: 19.81 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.3783, allocations: 21.86 kB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3783, allocations: 3.938 kB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3783, allocations: 4 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3783, allocations: 0 / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.3799, allocations: 0.6421 MB / 0.9106 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.3799, allocations: 3.938 kB / 0.9106 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3801, allocations: 27.98 kB / 0.9106 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3801, allocations: 3.938 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3802, allocations: 4 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3802, allocations: 7.922 kB / 0.9106 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3802, allocations: 0 / 0.9106 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3814, allocations: 491 kB / 0.9111 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.3815, allocations: 96.8 kB / 0.9112 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.3816, allocations: 15.97 kB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3819, allocations: 23.97 kB / 0.9112 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.382, allocations: 19.98 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.3821, allocations: 15.98 kB / 0.9113 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001542/0.3823, allocations: 136.3 kB / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3823, allocations: 0 / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008276/0.3831, allocations: 95.98 kB / 0.9115 GB, free: 52.08 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.00235/0.3855, allocations: 1.233 MB / 0.9127 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000784/0.3863, allocations: 259.9 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.3863, allocations: 4 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.3866, allocations: 103.8 kB / 0.913 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.3872, allocations: 19.98 kB / 0.9131 GB, free: 50.52 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.005043/0.3923, allocations: 2.836 MB / 0.9158 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3926, allocations: 0.7482 MB / 0.9166 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.3929, allocations: 45.91 kB / 0.9166 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3931, allocations: 55.42 kB / 0.9167 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.3931, allocations: 4 kB / 0.9167 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5957/0.9888, allocations: 4.97 MB / 0.9215 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.9893, allocations: 297.3 kB / 0.9218 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/4.702, allocations: 3.938 kB / 0.9218 GB, free: 41.41 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)