Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.IO.Python_3_8.Examples.SimpleRoom,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_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.0009405/0.0009404, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00775/0.00775, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.315/2.315, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5413, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.001701/0.5431, allocations: 1.481 MB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.5448, allocations: 1.573 MB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.5449, allocations: 7.938 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.545, allocations: 19.8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.5451, allocations: 15.88 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.5456, allocations: 199.6 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.5458, allocations: 223.4 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.5459, allocations: 52.14 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5461, allocations: 79.75 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.5462, allocations: 63.69 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.5462, allocations: 12 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.5465, allocations: 187.6 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.5466, allocations: 67.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.5467, allocations: 105.2 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.547, allocations: 359 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.547, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.734e-06/0.547, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.547, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007518/0.5478, allocations: 0.5419 MB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.5478, allocations: 12.03 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.5479, allocations: 58.67 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5479, allocations: 24.66 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.5482, allocations: 252.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5482, allocations: 16.45 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.5482, allocations: 24 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5485, allocations: 204.2 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.5486, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5486, allocations: 8 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5486, allocations: 11.98 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.5488, allocations: 116.5 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.5499, allocations: 0.6015 MB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.5507, allocations: 300.2 kB / 1.03 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5509, allocations: 92.81 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5509, allocations: 4 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.5512, allocations: 180.8 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.5512, allocations: 0 / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0005877/0.5518, allocations: 385 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5518, allocations: 67.39 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5519, allocations: 190.2 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.552, allocations: 49.69 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.5521, allocations: 116.7 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.5521, allocations: 82.98 kB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.5522, allocations: 49.69 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.5523, allocations: 338.8 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.5525, allocations: 120.7 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.5527, allocations: 248.6 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.5531, allocations: 368 kB / 1.032 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5531, allocations: 3.938 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005482/0.5537, allocations: 421.2 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5537, allocations: 8 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5537, allocations: 4 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5537, allocations: 4 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.5539, allocations: 67.84 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5539, allocations: 4 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.5541, allocations: 51.83 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.5541, allocations: 20 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (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_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],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 (50): * Single equations (assignments): 50 * 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.0001423/0.5543, allocations: 180.2 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.5543, allocations: 23.7 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.5544, allocations: 25.88 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5544, allocations: 7.984 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5544, allocations: 0 / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5544, allocations: 3.984 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.5552, allocations: 0.6776 MB / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5552, allocations: 0 / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.5553, allocations: 16 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5553, allocations: 4 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5554, allocations: 11.98 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5554, allocations: 0 / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5554, allocations: 0 / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.556, allocations: 0.5168 MB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.556, allocations: 104.7 kB / 1.034 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5561, allocations: 16.03 kB / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.5563, allocations: 27.97 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.5563, allocations: 23.91 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.5563, allocations: 8 kB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.5564, allocations: 132.2 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5564, allocations: 4 kB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003632/0.5568, allocations: 99.98 kB / 1.034 GB, free: 4.117 MB / 0.7794 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001269/0.5581, allocations: 1.267 MB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.5585, allocations: 283.5 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5585, allocations: 0 / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.5587, allocations: 111 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.559, allocations: 31.89 kB / 1.036 GB, free: 2.473 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.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.002752/0.5617, allocations: 2.991 MB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.562, allocations: 0.7443 MB / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000114/0.5621, allocations: 50.25 kB / 1.039 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.5622, allocations: 63.41 kB / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5622, allocations: 0 / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.851/3.413, allocations: 5.211 MB / 1.045 GB, free: 9.34 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/3.413, allocations: 286.7 kB / 1.045 GB, free: 8.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/5.216, allocations: 0 / 1.045 GB, free: 8.953 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)