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.001246/0.001246, 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.001414/0.001414, allocations: 197.9 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.06 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2402, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003703/0.2439, allocations: 1.873 MB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2464, allocations: 1.588 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.2465, allocations: 11.94 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.2467, allocations: 19.86 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2469, allocations: 15.86 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.2475, allocations: 203.6 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.2478, allocations: 231.5 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2479, allocations: 57.81 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2481, allocations: 83.69 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2482, allocations: 83.66 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.2482, allocations: 8 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.2486, allocations: 187.7 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2488, allocations: 75.8 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.2489, allocations: 95.39 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.2493, allocations: 375 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2493, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2493, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2493, allocations: 0 / 1.057 GB, free: 3.297 MB / 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.0008083/0.2502, allocations: 0.5456 MB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2502, allocations: 15.97 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.2503, allocations: 50.72 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.2504, allocations: 28.66 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2507, allocations: 265.4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2507, allocations: 20.12 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.2508, allocations: 35.89 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.2512, allocations: 201.3 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2512, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2512, allocations: 8 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2512, allocations: 4 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.2515, allocations: 115.7 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2527, allocations: 0.5898 MB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.253, allocations: 194.5 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2532, allocations: 100.8 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.2533, allocations: 4 kB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.2537, allocations: 182.4 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.2537, allocations: 0 / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0008082/0.2545, allocations: 395.8 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.2546, allocations: 67.38 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.2548, allocations: 187 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.2549, allocations: 53.69 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.255, allocations: 121 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.2551, allocations: 79.02 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2552, allocations: 82.12 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2553, allocations: 338.8 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.2556, allocations: 120.7 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.2559, allocations: 253.5 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.2564, allocations: 379.9 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2564, allocations: 0 / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006502/0.2571, allocations: 428.6 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2571, allocations: 8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2571, allocations: 4 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2571, allocations: 7.938 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2573, allocations: 64.38 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2573, allocations: 11.94 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2575, allocations: 31.69 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2575, allocations: 20 kB / 1.062 GB, free: 14.02 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.0001779/0.2577, allocations: 188.2 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.2578, allocations: 19.81 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.2578, allocations: 18.56 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2578, allocations: 4 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2578, allocations: 3.984 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2578, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.2588, allocations: 0.6856 MB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2588, allocations: 3.938 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.2589, allocations: 19.92 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2589, allocations: 8 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.259, allocations: 11.98 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.259, allocations: 0 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.259, allocations: 192 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.2596, allocations: 0.5114 MB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.2597, allocations: 100.9 kB / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2598, allocations: 23.97 kB / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2599, allocations: 11.98 kB / 1.063 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.26, allocations: 19.97 kB / 1.063 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.26, allocations: 15.92 kB / 1.063 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.917e-05/0.2601, allocations: 131.2 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2601, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004296/0.2605, allocations: 103.9 kB / 1.064 GB, free: 12.05 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.001527/0.2621, allocations: 1.285 MB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.2626, allocations: 275.5 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2626, allocations: 0.9375 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2628, allocations: 104.5 kB / 1.065 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2631, allocations: 31.91 kB / 1.065 GB, free: 10.39 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.003348/0.2665, allocations: 2.98 MB / 1.068 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2667, allocations: 0.7443 MB / 1.069 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.2669, allocations: 58.19 kB / 1.069 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.267, allocations: 67.41 kB / 1.069 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.267, allocations: 0 / 1.069 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5263/0.7933, allocations: 5.497 MB / 1.074 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.7936, allocations: 290 kB / 1.075 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.539, allocations: 4 kB / 1.075 GB, free: 0.5586 MB / 0.8262 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)