Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005963/0.005963, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001517/0.001517, allocations: 196 kB / 16.68 MB, free: 5.934 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 61.5 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002728/0.2355, allocations: 1.772 MB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2375, allocations: 1.6 MB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.2376, allocations: 7.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.2377, allocations: 23.78 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2379, allocations: 19.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2384, allocations: 235.3 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.2387, allocations: 247.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2388, allocations: 68.69 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2389, allocations: 87.73 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2391, allocations: 75.67 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.2391, allocations: 16 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2395, allocations: 219.6 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.2396, allocations: 75.81 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.2397, allocations: 91.52 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.2401, allocations: 379 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2401, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2401, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.2401, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 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.0008826/0.241, allocations: 0.5701 MB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.241, allocations: 8.031 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.2411, allocations: 54.73 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.2411, allocations: 24.66 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2414, allocations: 239.9 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2414, allocations: 24.44 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.2415, allocations: 24 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.2418, allocations: 208 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2418, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.2419, allocations: 8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2419, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.2421, allocations: 116.5 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2434, allocations: 0.5821 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.2442, allocations: 292.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.2444, allocations: 92.8 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2444, allocations: 4 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.2447, allocations: 167.9 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2447, allocations: 0 / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0006549/0.2454, allocations: 389.8 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2454, allocations: 71.39 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2456, allocations: 182.6 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2456, allocations: 49.69 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.2457, allocations: 124.5 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.2458, allocations: 79.08 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.2459, allocations: 82.12 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.246, allocations: 334.8 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2462, allocations: 120.8 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.2464, allocations: 246.6 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.2469, allocations: 364 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.2469, allocations: 7.938 kB / 1.097 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005876/0.2475, allocations: 412.9 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2475, allocations: 8 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2475, allocations: 4 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2476, allocations: 8 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.2477, allocations: 59.91 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2478, allocations: 11.94 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.248, allocations: 51.89 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.248, allocations: 16 kB / 1.097 GB, free: 7.812 MB / 0.8575 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.000154/0.2481, allocations: 180.2 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.2482, allocations: 19.8 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.2482, allocations: 25.88 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2482, allocations: 4 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2483, allocations: 0 / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2483, allocations: 3.984 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.2492, allocations: 0.6742 MB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2492, allocations: 0 / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2493, allocations: 16.09 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2493, allocations: 3.938 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.2493, allocations: 8.172 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2494, allocations: 12 kB / 1.098 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2494, allocations: 0 / 1.098 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.25, allocations: 0.5191 MB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2501, allocations: 88.92 kB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.2501, allocations: 16.03 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2503, allocations: 23.97 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2504, allocations: 27.91 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2504, allocations: 8 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.93e-05/0.2505, allocations: 132.2 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2505, allocations: 0 / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004164/0.2509, allocations: 107.9 kB / 1.099 GB, free: 5.859 MB / 0.8575 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.001422/0.2524, allocations: 1.267 MB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2528, allocations: 267.6 kB / 1.1 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2528, allocations: 4 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.253, allocations: 116.2 kB / 1.1 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2533, allocations: 23.98 kB / 1.1 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.2563, allocations: 2.904 MB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2566, allocations: 0.7401 MB / 1.104 GB, free: 372 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.2567, allocations: 54.25 kB / 1.104 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.2568, allocations: 63.41 kB / 1.104 GB, free: 256 kB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2568, allocations: 0 / 1.104 GB, free: 256 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4856/0.7424, allocations: 5.753 MB / 1.11 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.568, allocations: 7.922 kB / 1.11 GB, free: 10.54 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)