Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.00123/0.00123, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.274/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5642, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003224/0.5675, allocations: 1.77 MB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.57, allocations: 1.6 MB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.5701, allocations: 7.938 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.5703, allocations: 27.77 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.5704, allocations: 15.81 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.5712, allocations: 243.2 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.5715, allocations: 239.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.5717, allocations: 60.14 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.5719, allocations: 83.75 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.572, allocations: 83.66 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.5721, allocations: 12 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.5726, allocations: 195.7 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.5727, allocations: 87.78 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.5728, allocations: 83.55 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.5734, allocations: 375 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5734, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5734, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5734, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001053/0.5745, allocations: 0.5613 MB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5745, allocations: 19.91 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.5746, allocations: 46.73 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.5747, allocations: 32.64 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.575, allocations: 243.9 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.575, allocations: 32.44 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.5751, allocations: 27.98 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.5754, allocations: 192.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5755, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.5755, allocations: 11.98 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5755, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.5758, allocations: 112.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.5772, allocations: 0.5976 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.5781, allocations: 270.4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.5782, allocations: 96.81 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5783, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.5786, allocations: 164.4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.365e-06/0.5786, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006919/0.5793, allocations: 380.1 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5794, allocations: 79.38 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.5795, allocations: 174.3 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.5796, allocations: 49.69 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.5797, allocations: 116.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.5797, allocations: 75 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5799, allocations: 86.06 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.58, allocations: 342.8 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.5802, allocations: 112.8 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5805, allocations: 254.3 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.5809, allocations: 367.9 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.5809, allocations: 7.938 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000641/0.5816, allocations: 409.2 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5816, allocations: 8 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5816, allocations: 4 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.5817, allocations: 8 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.5819, allocations: 63.84 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5819, allocations: 8 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5821, allocations: 39.67 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.5821, allocations: 16 kB / 1.027 GB, free: 8.312 MB / 0.7794 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001657/0.5823, allocations: 192.2 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.5823, allocations: 19.72 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.5824, allocations: 21.86 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5824, allocations: 4 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5824, allocations: 7.984 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5824, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.5833, allocations: 0.6871 MB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5833, allocations: 0 / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.5834, allocations: 15.98 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5835, allocations: 0 / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.5835, allocations: 12.17 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5835, allocations: 8 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5835, allocations: 0 / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.5842, allocations: 0.5046 MB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.5842, allocations: 104.8 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5843, allocations: 15.98 kB / 1.029 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5844, allocations: 11.98 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.5845, allocations: 23.97 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.5846, allocations: 19.98 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.842e-05/0.5846, allocations: 132.2 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.213e-06/0.5847, allocations: 0 / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004627/0.5851, allocations: 111.9 kB / 1.029 GB, free: 6.34 MB / 0.7794 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 (25): * Single equations (assignments): 11 * 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.001574/0.5867, allocations: 1.263 MB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005729/0.5873, allocations: 327.5 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5873, allocations: 0 / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.5875, allocations: 103.9 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.5878, allocations: 33.16 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.003179/0.591, allocations: 2.912 MB / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5913, allocations: 0.7479 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.5915, allocations: 50.25 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.5916, allocations: 63.41 kB / 1.034 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5916, allocations: 4 kB / 1.034 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5412/1.133, allocations: 5.639 MB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/8.271, allocations: 3.984 kB / 1.04 GB, free: 11.09 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)