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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009436/0.0009434, allocations: 91.14 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.006323/0.006323, allocations: 173.8 kB / 16.27 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.632/2.632, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 15.72 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2704, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.001736/0.2722, allocations: 1.526 MB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.274, allocations: 1.565 MB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.274, allocations: 3.938 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.2742, allocations: 23.86 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.2743, allocations: 15.88 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.2747, allocations: 199.6 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.275, allocations: 231.4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2751, allocations: 57.73 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2752, allocations: 83.69 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2753, allocations: 71.67 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2754, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2757, allocations: 175.7 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.2757, allocations: 75.78 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.2758, allocations: 105.2 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.2762, allocations: 378.9 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2762, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2762, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2762, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 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.000627/0.2769, allocations: 0.5066 MB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2769, allocations: 15.97 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.2769, allocations: 54.72 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.277, allocations: 28.66 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.2773, allocations: 253.5 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2773, allocations: 20.06 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.2773, allocations: 31.98 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.2777, allocations: 205.3 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2777, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2777, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2777, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.278, allocations: 131.7 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.279, allocations: 0.6014 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2793, allocations: 198.5 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.2795, allocations: 104.8 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2795, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.2798, allocations: 178 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.2798, allocations: 0 / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.000602/0.2804, allocations: 403.8 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2804, allocations: 67.39 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2806, allocations: 187 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.2806, allocations: 49.69 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2807, allocations: 121 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.2808, allocations: 78.98 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2808, allocations: 53.69 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.2809, allocations: 342.8 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2811, allocations: 112.8 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2814, allocations: 265.4 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.2818, allocations: 379.9 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2818, allocations: 7.938 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005543/0.2823, allocations: 420.7 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2824, allocations: 11.94 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2824, allocations: 4.469 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2824, allocations: 12 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.2826, allocations: 59.91 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2826, allocations: 15.92 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2827, allocations: 31.69 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2828, allocations: 20 kB / 1.068 GB, free: 11.06 MB / 0.8262 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.0001456/0.2829, allocations: 184.2 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.283, allocations: 19.8 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.283, allocations: 22.5 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.283, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.283, allocations: 192 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.283, allocations: 3.984 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.2839, allocations: 0.6934 MB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2839, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.284, allocations: 23.92 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.284, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.284, allocations: 11.98 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.284, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.284, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.2847, allocations: 0.527 MB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2847, allocations: 92.86 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2848, allocations: 15.98 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2849, allocations: 15.98 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.285, allocations: 19.91 kB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.285, allocations: 23.86 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.2851, allocations: 127.2 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2851, allocations: 0 / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003736/0.2855, allocations: 107.9 kB / 1.07 GB, free: 9.078 MB / 0.8262 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.001303/0.2868, allocations: 1.29 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.2872, allocations: 276.9 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2872, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2874, allocations: 112.8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2877, allocations: 31.86 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.002781/0.2905, allocations: 3.007 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2907, allocations: 0.7482 MB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.2908, allocations: 50.25 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.2909, allocations: 63.41 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2909, allocations: 4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.599/4.89, allocations: 5.281 MB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/4.89, allocations: 288.3 kB / 1.081 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/6.92, allocations: 0 / 1.081 GB, free: 13.8 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)