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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001396/0.001396, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.471/2.471, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5396, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003091/0.5427, allocations: 1.835 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.5448, allocations: 1.588 MB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.5449, allocations: 8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.5451, allocations: 15.86 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.5452, allocations: 15.88 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.5458, allocations: 199.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.5461, allocations: 223.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.5462, allocations: 60.14 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.5463, allocations: 79.81 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.5465, allocations: 83.61 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.5465, allocations: 8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.5469, allocations: 183.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.547, allocations: 75.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.5471, allocations: 87.47 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.5475, allocations: 367.1 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5475, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5475, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.5476, allocations: 4 kB / 1.021 GB, free: 13.98 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.0008667/0.5484, allocations: 0.5652 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5485, allocations: 11.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.5485, allocations: 58.72 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.5486, allocations: 24.66 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.5488, allocations: 245.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5489, allocations: 24.44 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.5489, allocations: 27.98 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.5493, allocations: 204.2 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5493, allocations: 3.938 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5493, allocations: 8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5493, allocations: 4 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.5496, allocations: 116.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5507, allocations: 0.582 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.5515, allocations: 286.3 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5516, allocations: 92.81 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5517, allocations: 7.922 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.552, allocations: 171.9 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.552, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.000636/0.5526, allocations: 384.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.5527, allocations: 67.39 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5528, allocations: 182.8 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.5529, allocations: 49.69 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.5529, allocations: 120.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.553, allocations: 83.08 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.5531, allocations: 78.12 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5532, allocations: 338.8 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5534, allocations: 112.8 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5537, allocations: 248.5 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.5541, allocations: 360 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5541, allocations: 3.938 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000586/0.5547, allocations: 420.8 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5547, allocations: 13.39 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5548, allocations: 4 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5548, allocations: 4.469 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.555, allocations: 63.91 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.555, allocations: 7.938 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5552, allocations: 43.67 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.5552, allocations: 20 kB / 1.026 GB, free: 8.684 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.000153/0.5554, allocations: 184.2 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.5554, allocations: 23.7 kB / 1.026 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.5554, allocations: 21.88 kB / 1.026 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5555, allocations: 4 kB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.5555, allocations: 0 / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5555, allocations: 0 / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.5563, allocations: 0.6738 MB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5564, allocations: 4 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.5565, allocations: 27.92 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5565, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5565, allocations: 7.984 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5565, allocations: 0 / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5565, allocations: 3.938 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.5572, allocations: 0.5047 MB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.5572, allocations: 100.8 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.5573, allocations: 20.03 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.5574, allocations: 23.91 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.5575, allocations: 15.98 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.5575, allocations: 15.98 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.5576, allocations: 132.2 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5576, allocations: 0 / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003936/0.558, allocations: 95.98 kB / 1.028 GB, free: 6.742 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.001404/0.5594, allocations: 1.27 MB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.5599, allocations: 276.4 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5599, allocations: 0 / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.5601, allocations: 101.2 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.5604, allocations: 37.44 kB / 1.03 GB, free: 5.105 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.003017/0.5634, allocations: 2.969 MB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.5637, allocations: 0.7482 MB / 1.033 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.5638, allocations: 50.19 kB / 1.033 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.5639, allocations: 59.41 kB / 1.033 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5639, allocations: 0 / 1.033 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.087/3.651, allocations: 5.427 MB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/3.651, allocations: 286 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/5.289, allocations: 0 / 1.039 GB, free: 11.36 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)