Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007143/0.007144, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001636/0.001636, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.945/2.945, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.06 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003401/0.3234, allocations: 1.816 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.326, allocations: 1.608 MB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.3262, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.3264, allocations: 27.73 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3266, allocations: 15.86 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.3273, allocations: 239.2 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.3277, allocations: 247.5 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3279, allocations: 57.55 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.328, allocations: 99.67 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3282, allocations: 79.67 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.3282, allocations: 12 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.3287, allocations: 219.6 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3288, allocations: 79.78 kB / 1.225 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3289, allocations: 95.47 kB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.3295, allocations: 386.6 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3295, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3295, allocations: 4 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3295, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009066/0.3304, allocations: 0.5656 MB / 1.226 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3305, allocations: 12.03 kB / 1.226 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.3305, allocations: 54.67 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.3306, allocations: 28.78 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.331, allocations: 257.6 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.331, allocations: 20.12 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.3311, allocations: 28 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.3314, allocations: 209.1 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3315, allocations: 3.984 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.3315, allocations: 11.92 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3315, allocations: 4 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.3318, allocations: 115.9 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3331, allocations: 0.5935 MB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.3335, allocations: 198.5 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3337, allocations: 104.9 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3337, allocations: 7.938 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.3341, allocations: 173.5 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 4.188e-06/0.3341, allocations: 0 / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008091/0.3349, allocations: 400.2 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.335, allocations: 67.39 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3352, allocations: 187.1 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.3353, allocations: 53.69 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.3354, allocations: 121 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.3355, allocations: 91.36 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3356, allocations: 78.12 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3358, allocations: 338.8 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.336, allocations: 116.8 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.3363, allocations: 261.5 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3368, allocations: 367.9 kB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3369, allocations: 0 / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006605/0.3375, allocations: 425.3 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3375, allocations: 8 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3376, allocations: 4 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3376, allocations: 4 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3378, allocations: 67.84 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3378, allocations: 8.172 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.338, allocations: 35.78 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.338, allocations: 20 kB / 1.23 GB, free: 4.039 MB / 0.9825 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,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.000199/0.3382, allocations: 184.3 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.3383, allocations: 23.84 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.3383, allocations: 18.56 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3383, allocations: 4 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3383, allocations: 0 / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3383, allocations: 3.984 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3394, allocations: 0.6938 MB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3394, allocations: 0 / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3395, allocations: 15.98 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3396, allocations: 4 kB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3396, allocations: 11.98 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3396, allocations: 3.938 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3396, allocations: 0 / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.3404, allocations: 0.5124 MB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.3404, allocations: 104.9 kB / 1.231 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.3405, allocations: 11.98 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3406, allocations: 11.98 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.3407, allocations: 19.97 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.3407, allocations: 19.92 kB / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3408, allocations: 128.3 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3409, allocations: 0 / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004622/0.3413, allocations: 119.6 kB / 1.232 GB, free: 2.062 MB / 0.9825 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 (26): * Single equations (assignments): 12 * 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.00184/0.3432, allocations: 1.283 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.3437, allocations: 284.7 kB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3437, allocations: 0 / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.3439, allocations: 104.8 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3443, allocations: 27.92 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.3481, allocations: 2.959 MB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3485, allocations: 0.748 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.3487, allocations: 50.25 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3488, allocations: 63.41 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3488, allocations: 4 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.384, allocations: 5.854 MB / 1.243 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/8.981, allocations: 12.12 kB / 1.243 GB, free: 6.562 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)