Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007942/0.007942, allocations: 101.5 kB / 15.73 MB, free: 6.453 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.002067/0.002068, allocations: 194.8 kB / 16.67 MB, free: 6.355 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.008/3.008, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.88 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003359/0.3129, allocations: 1.815 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.3157, allocations: 1.604 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3159, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3162, allocations: 31.72 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.3163, allocations: 23.8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.3173, allocations: 234 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.3177, allocations: 255.4 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.3179, allocations: 61.53 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.3181, allocations: 95.69 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3183, allocations: 79.66 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.3184, allocations: 20 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.3188, allocations: 211.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.319, allocations: 79.78 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3191, allocations: 91.53 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.3197, allocations: 398.5 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3197, allocations: 0 / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3197, allocations: 0 / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3197, allocations: 0 / 1.225 GB, free: 9.703 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.0009226/0.3207, allocations: 0.5604 MB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3207, allocations: 12.02 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.3208, allocations: 54.73 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.3209, allocations: 28.8 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3212, allocations: 252.9 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3213, allocations: 20.12 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.3213, allocations: 23.98 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.3218, allocations: 217 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3218, allocations: 0 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3218, allocations: 8 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3218, allocations: 4 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.3221, allocations: 115.9 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3234, allocations: 0.5936 MB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3238, allocations: 207.3 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.324, allocations: 104.8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.324, allocations: 4 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.3244, allocations: 176 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.3244, allocations: 3.938 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007235/0.3251, allocations: 396.3 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3252, allocations: 71.39 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3254, allocations: 187.1 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.3254, allocations: 49.69 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.3256, allocations: 129 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.3256, allocations: 87.38 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3258, allocations: 82.12 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3259, allocations: 330.8 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.3262, allocations: 124.8 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3265, allocations: 253.4 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.3271, allocations: 371.9 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3271, allocations: 0 / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006978/0.3278, allocations: 424.9 kB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3278, allocations: 8 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3279, allocations: 4 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3279, allocations: 8.656 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3281, allocations: 67.84 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.3281, allocations: 8 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.3283, allocations: 35.78 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3283, allocations: 16 kB / 1.229 GB, free: 4.387 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.0001987/0.3285, allocations: 188.2 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3286, allocations: 23.86 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.3286, allocations: 18.56 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3287, allocations: 7.984 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3287, allocations: 0 / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3287, allocations: 0 / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3297, allocations: 0.6782 MB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3297, allocations: 0 / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3299, allocations: 19.98 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3299, allocations: 4 kB / 1.23 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.3299, allocations: 11.98 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3299, allocations: 4 kB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3299, allocations: 3.938 kB / 1.23 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.3307, allocations: 0.5124 MB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3308, allocations: 92.95 kB / 1.231 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.3308, allocations: 20.03 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.331, allocations: 11.98 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.331, allocations: 23.97 kB / 1.231 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.3311, allocations: 15.92 kB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001009/0.3312, allocations: 140.3 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3312, allocations: 0 / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004741/0.3317, allocations: 115.6 kB / 1.231 GB, free: 2.414 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.001608/0.3333, allocations: 1.281 MB / 1.232 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.3338, allocations: 279.6 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3338, allocations: 4.875 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.334, allocations: 103.9 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3343, allocations: 31.91 kB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.3378, allocations: 2.954 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3382, allocations: 0.7441 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.3384, allocations: 58.23 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3385, allocations: 63.42 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3385, allocations: 0 / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3659, allocations: 5.846 MB / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.42, allocations: 13.2 kB / 1.242 GB, free: 6.922 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)