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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001516/0.001516, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.006229/0.006229, allocations: 192.5 kB / 16.25 MB, free: 6.645 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.993/1.993, allocations: 222.9 MB / 239.9 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.926/4.926, allocations: 461.9 MB / 0.7344 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 68.62 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5032, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.005535/0.5088, allocations: 1.873 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004198/0.5131, allocations: 1.58 MB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.5132, allocations: 3.938 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.5136, allocations: 27.84 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.5138, allocations: 15.86 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.515, allocations: 207.5 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.5155, allocations: 251.5 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.5158, allocations: 53.81 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.516, allocations: 99.67 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.5163, allocations: 83.67 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.5163, allocations: 12 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.517, allocations: 199.6 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.5172, allocations: 83.8 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.5174, allocations: 95.47 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.5181, allocations: 379 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5182, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5182, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5182, allocations: 4 kB / 1.057 GB, free: 3.727 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.001373/0.5196, allocations: 0.5533 MB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.5197, allocations: 8.625 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.96e-05/0.5198, allocations: 54.67 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5199, allocations: 28.64 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.5205, allocations: 249.5 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.5205, allocations: 28.11 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.5206, allocations: 27.91 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.5214, allocations: 201.3 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5214, allocations: 4 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.5215, allocations: 15.92 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5215, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.522, allocations: 119.7 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.5242, allocations: 0.5859 MB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.5249, allocations: 202.5 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.5253, allocations: 104.9 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.5253, allocations: 11.88 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006237/0.526, allocations: 165.8 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 4.057e-06/0.526, allocations: 0 / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.001305/0.5273, allocations: 387.8 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.5274, allocations: 71.41 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5277, allocations: 190.5 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.5278, allocations: 49.69 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.528, allocations: 121 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5281, allocations: 82.98 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.5283, allocations: 82.12 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5285, allocations: 334.8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.5289, allocations: 116.8 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.5295, allocations: 253.5 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.5307, allocations: 371.9 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.5307, allocations: 4 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001317/0.5321, allocations: 425.1 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.5321, allocations: 8 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.5322, allocations: 8.172 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.5322, allocations: 8 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.5327, allocations: 63.84 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.5327, allocations: 8 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.533, allocations: 39.67 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.5331, allocations: 16 kB / 1.062 GB, free: 14.46 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.0003455/0.5334, allocations: 188.2 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.5335, allocations: 19.81 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.5336, allocations: 22.55 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5337, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5337, allocations: 4 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.5337, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.5357, allocations: 0.6855 MB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5357, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5359, allocations: 23.98 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.536, allocations: 0 / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.536, allocations: 7.984 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.5361, allocations: 4 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5361, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5375, allocations: 0.5196 MB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.5376, allocations: 100.8 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.5377, allocations: 19.98 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.538, allocations: 7.984 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5381, allocations: 19.97 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.5381, allocations: 15.94 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002095/0.5384, allocations: 140.2 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5384, allocations: 4 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008787/0.5393, allocations: 107.9 kB / 1.064 GB, free: 12.48 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.002944/0.5422, allocations: 1.283 MB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5435, allocations: 332.4 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5435, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.5439, allocations: 107 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.5445, allocations: 23.92 kB / 1.066 GB, free: 10.78 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006566/0.5511, allocations: 2.987 MB / 1.068 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.5516, allocations: 0.748 MB / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.5519, allocations: 58.23 kB / 1.069 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5521, allocations: 63.42 kB / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of SimCode: time 1.001e-06/0.5521, allocations: 0 / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.826, allocations: 5.631 MB / 1.075 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000389/1.827, allocations: 284.5 kB / 1.075 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.883/5.71, allocations: 0 / 1.075 GB, free: 0.7969 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)