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.001715/0.001714, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001777, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.317/1.317, 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-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2935, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002932/0.2965, allocations: 1.829 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2986, allocations: 1.588 MB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.2986, allocations: 7.938 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2988, allocations: 27.78 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.2989, allocations: 23.8 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.2995, allocations: 239.2 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.2998, allocations: 247.5 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2999, allocations: 61.52 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.3001, allocations: 103.7 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3002, allocations: 79.67 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.3003, allocations: 12 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.3006, allocations: 219.6 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.3007, allocations: 71.81 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3008, allocations: 95.52 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3013, allocations: 390.6 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3013, allocations: 0 / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3013, allocations: 0 / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3013, allocations: 0 / 1.225 GB, free: 9.336 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.0007995/0.3021, allocations: 0.5643 MB / 1.226 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3022, allocations: 12.03 kB / 1.226 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.3022, allocations: 50.73 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.3023, allocations: 32.8 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3026, allocations: 257.6 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.3027, allocations: 28.05 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.3027, allocations: 32 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.3031, allocations: 201.1 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3031, allocations: 4 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3031, allocations: 7.984 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3031, allocations: 4 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3034, allocations: 115.9 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3045, allocations: 0.5935 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.3049, allocations: 198.5 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.305, allocations: 96.81 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3051, allocations: 8 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.3054, allocations: 176 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.3054, allocations: 0 / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0006796/0.3061, allocations: 392.3 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3062, allocations: 67.39 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3063, allocations: 187.1 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.3064, allocations: 53.64 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.3065, allocations: 129 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.3066, allocations: 87.36 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3067, allocations: 82.12 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3068, allocations: 338.8 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.307, allocations: 112.8 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3073, allocations: 259.6 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.3078, allocations: 375.9 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3078, allocations: 0 / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000611/0.3084, allocations: 425 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3084, allocations: 8.406 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3085, allocations: 11.94 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3085, allocations: 8 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3087, allocations: 59.91 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3087, allocations: 7.938 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3088, allocations: 39.77 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3089, allocations: 20 kB / 1.23 GB, free: 4.016 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.0001665/0.309, allocations: 180.3 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3091, allocations: 19.86 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3091, allocations: 22.55 kB / 1.23 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3091, allocations: 7.938 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3091, allocations: 0 / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3091, allocations: 0 / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.3101, allocations: 0.69 MB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3101, allocations: 0 / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3102, allocations: 19.94 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3102, allocations: 4 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3103, allocations: 7.984 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3103, allocations: 3.984 kB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3103, allocations: 0 / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.311, allocations: 0.51 MB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.311, allocations: 96.95 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.3111, allocations: 24.02 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3112, allocations: 8 kB / 1.231 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.3113, allocations: 19.97 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3113, allocations: 15.92 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3114, allocations: 140.2 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3114, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004096/0.3118, allocations: 111.6 kB / 1.232 GB, free: 2.051 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.001621/0.3135, allocations: 1.282 MB / 1.233 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3139, allocations: 276.8 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3139, allocations: 4.062 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.3141, allocations: 111.8 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3144, allocations: 31.98 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.3176, allocations: 2.939 MB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3179, allocations: 0.7518 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000115/0.3181, allocations: 54.25 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.3182, allocations: 67.41 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3182, allocations: 0 / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4894/0.8076, allocations: 5.868 MB / 1.243 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.95/27.76, allocations: 14.03 kB / 1.243 GB, free: 6.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)