Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 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.001369/0.001369, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.542/2.542, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 71.06 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.252, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003243/0.2553, allocations: 1.815 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2576, allocations: 1.6 MB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.2577, allocations: 7.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.2579, allocations: 19.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.258, allocations: 23.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.2587, allocations: 244.8 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.259, allocations: 247.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2592, allocations: 61.8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2593, allocations: 95.69 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2595, allocations: 79.67 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.2595, allocations: 12 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.2599, allocations: 199.7 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2601, allocations: 83.78 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2602, allocations: 91.47 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.2607, allocations: 386.9 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2607, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2607, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2607, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 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.0008499/0.2616, allocations: 0.5532 MB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2616, allocations: 8.031 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.2617, allocations: 54.73 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2617, allocations: 24.73 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.2621, allocations: 252.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.2621, allocations: 20.12 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.2622, allocations: 24 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2625, allocations: 205.3 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2626, allocations: 4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.2626, allocations: 7.984 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2626, allocations: 8 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2628, allocations: 123.6 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.264, allocations: 0.582 MB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.2644, allocations: 206.5 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2645, allocations: 108.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2646, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.2649, allocations: 169.5 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.2649, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0006902/0.2656, allocations: 389.2 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.2656, allocations: 75.39 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2658, allocations: 187 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.2659, allocations: 49.69 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.266, allocations: 124.9 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.2661, allocations: 78.98 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2662, allocations: 86.12 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2663, allocations: 330.8 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2665, allocations: 116.8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2668, allocations: 261.5 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.2673, allocations: 371.9 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2673, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006339/0.268, allocations: 417.2 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.268, allocations: 9.406 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.268, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.268, allocations: 8 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.2682, allocations: 63.84 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2682, allocations: 15.92 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.2684, allocations: 35.69 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.2684, allocations: 16 kB / 1.074 GB, free: 3.984 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.0001787/0.2686, allocations: 184.2 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.2686, allocations: 23.8 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2687, allocations: 22.56 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2687, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2687, allocations: 4.188 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2687, allocations: 3.984 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.2697, allocations: 0.6991 MB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2697, allocations: 0 / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2698, allocations: 19.98 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2698, allocations: 0 / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.2698, allocations: 11.98 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2698, allocations: 4 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2698, allocations: 0 / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.2706, allocations: 0.5108 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.2706, allocations: 100.8 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.2707, allocations: 15.98 kB / 1.075 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2708, allocations: 11.98 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.2709, allocations: 27.91 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.2709, allocations: 15.92 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001008/0.271, allocations: 128.3 kB / 1.075 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.271, allocations: 4 kB / 1.075 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004176/0.2714, allocations: 108 kB / 1.076 GB, free: 2 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.001648/0.2731, allocations: 1.276 MB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.2736, allocations: 331.7 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2737, allocations: 0 / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.2739, allocations: 109.8 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2741, allocations: 29.33 kB / 1.077 GB, free: 312 kB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.003373/0.2775, allocations: 2.928 MB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.2779, allocations: 0.7519 MB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.278, allocations: 50.25 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.2781, allocations: 67.41 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.2781, allocations: 0 / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 26.76/27.04, allocations: 5.755 MB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/41.26, allocations: 8.828 kB / 1.087 GB, free: 6.59 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)