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.00122/0.00122, 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.001241/0.001241, allocations: 190.4 kB / 16.25 MB, free: 6.633 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.525/2.525, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 68.12 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6718, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.00286/0.6747, allocations: 1.847 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.6765, allocations: 1.569 MB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.6766, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.6767, allocations: 19.86 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.6769, allocations: 19.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.6774, allocations: 203.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.6776, allocations: 247.5 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.6778, allocations: 64.14 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.6779, allocations: 87.69 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.678, allocations: 87.66 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.678, allocations: 15.94 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.6784, allocations: 195.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.6785, allocations: 79.78 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.6786, allocations: 87.55 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.6789, allocations: 375 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6789, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6789, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6789, allocations: 0 / 1.022 GB, free: 13.92 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.0008111/0.6798, allocations: 0.5652 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6798, allocations: 11.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.6799, allocations: 54.73 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.6799, allocations: 28.64 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.6801, allocations: 253.4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.6802, allocations: 16.45 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.6802, allocations: 27.98 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.6805, allocations: 200.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6806, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.6806, allocations: 7.984 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6806, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.6808, allocations: 124.1 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.6819, allocations: 0.5859 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.6827, allocations: 278.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.6828, allocations: 96.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.6828, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.6831, allocations: 164 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.684e-06/0.6831, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0005978/0.6837, allocations: 384.7 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.6838, allocations: 71.38 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.6839, allocations: 186.8 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.684, allocations: 49.69 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.684, allocations: 124.6 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.6841, allocations: 71.11 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.6842, allocations: 82.06 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.6843, allocations: 334.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.6845, allocations: 112.8 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.6847, allocations: 252.6 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.6852, allocations: 375.8 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.6852, allocations: 3.938 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005706/0.6858, allocations: 404.8 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6858, allocations: 8.469 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6858, allocations: 8 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6858, allocations: 8 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.686, allocations: 59.91 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.686, allocations: 7.938 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.6862, allocations: 43.67 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.6862, allocations: 23.98 kB / 1.026 GB, free: 8.621 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.0001498/0.6864, allocations: 180.2 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.6864, allocations: 19.72 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.6865, allocations: 25.86 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6865, allocations: 11.92 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6865, allocations: 0 / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6865, allocations: 0 / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.6873, allocations: 0.6777 MB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6873, allocations: 192 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.6874, allocations: 27.92 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.6875, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.6875, allocations: 11.98 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6875, allocations: 0 / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6875, allocations: 0 / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.6881, allocations: 0.5047 MB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.6882, allocations: 104.8 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.6882, allocations: 15.98 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.6884, allocations: 15.98 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.6885, allocations: 23.97 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.6885, allocations: 12.08 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.425e-05/0.6886, allocations: 136.1 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.233e-06/0.6886, allocations: 0 / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003808/0.689, allocations: 107.9 kB / 1.028 GB, free: 6.664 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.001358/0.6903, allocations: 1.263 MB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.6908, allocations: 323.5 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6908, allocations: 0 / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.691, allocations: 105.4 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.6913, allocations: 33.3 kB / 1.03 GB, free: 4.992 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.002894/0.6942, allocations: 2.964 MB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6945, allocations: 0.7441 MB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.6946, allocations: 50.25 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.6947, allocations: 63.41 kB / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6947, allocations: 0 / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.652/7.347, allocations: 5.553 MB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/7.347, allocations: 288.8 kB / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/9.011, allocations: 0 / 1.039 GB, free: 11.11 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)