Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.006874/0.006874, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001533/0.001533, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.463/2.463, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 1.018 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9977/0.9992, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001932/1.001, allocations: 0.5525 MB / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001687/1.003, allocations: 1.189 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/1.003, allocations: 3.938 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/1.003, allocations: 11.94 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/1.003, allocations: 0 / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/1.004, allocations: 276.6 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/1.004, allocations: 83.86 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/1.004, allocations: 4 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/1.004, allocations: 39.91 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/1.004, allocations: 39.89 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/1.004, allocations: 7.938 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/1.005, allocations: 203.7 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/1.005, allocations: 15.94 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/1.005, allocations: 35.78 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/1.005, allocations: 247.6 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.005, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/1.005, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.005, allocations: 3.938 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004487/1.006, allocations: 447.3 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.006, allocations: 12.91 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/1.006, allocations: 110 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/1.006, allocations: 88.22 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.006, allocations: 247.6 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/1.006, allocations: 154.9 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/1.006, allocations: 163 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.592e-05/1.006, allocations: 104.9 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.006, allocations: 75.28 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/1.006, allocations: 154.6 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/1.006, allocations: 150.6 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/1.006, allocations: 154.5 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/1.007, allocations: 469.9 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/1.007, allocations: 177.2 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/1.007, allocations: 80.14 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.007, allocations: 79.22 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/1.007, allocations: 109.8 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.007, allocations: 3.938 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.345e-05/1.007, allocations: 41.61 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.007, allocations: 130.7 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.007, allocations: 141.7 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.007, allocations: 29.7 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/1.007, allocations: 92.12 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/1.007, allocations: 3.938 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/1.007, allocations: 41.69 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.007, allocations: 318.8 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.007, allocations: 59.94 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/1.008, allocations: 63.95 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/1.008, allocations: 98.45 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.008, allocations: 0 / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003851/1.008, allocations: 227.2 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/1.008, allocations: 41.69 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.008, allocations: 64 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.008, allocations: 4 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/1.008, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.008, allocations: 3.984 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.009, allocations: 31.89 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.009, allocations: 19.98 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001153/1.009, allocations: 193.1 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/1.009, allocations: 116.8 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/1.009, allocations: 108.5 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/1.009, allocations: 180.2 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-05/1.009, allocations: 192.2 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/1.009, allocations: 176.4 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/1.009, allocations: 421.2 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/1.009, allocations: 104.9 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/1.009, allocations: 101 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.995e-05/1.009, allocations: 188.2 kB / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/1.009, allocations: 184.2 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-05/1.01, allocations: 180.2 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.609e-05/1.01, allocations: 176.3 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/1.01, allocations: 319.7 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/1.01, allocations: 186 kB / 1.175 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/1.01, allocations: 184.1 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/1.01, allocations: 109 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/1.01, allocations: 180.2 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/1.01, allocations: 105 kB / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.017e-05/1.01, allocations: 100.8 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 4 kB / 1.176 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000389/1.011, allocations: 75.89 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00102/1.012, allocations: 1.031 MB / 1.177 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003069/1.012, allocations: 211.3 kB / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.012, allocations: 0 / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-06/1.012, allocations: 8.062 kB / 1.177 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/1.012, allocations: 459.7 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.014, allocations: 1.858 MB / 1.18 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/1.014, allocations: 0.6806 MB / 1.18 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.541e-05/1.015, allocations: 51.81 kB / 1.18 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/1.015, allocations: 19.47 kB / 1.18 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/1.015, allocations: 0 / 1.18 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/1.036, allocations: 3.735 MB / 1.184 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.902, allocations: 7.594 kB / 1.184 GB, free: 1.031 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat does not exist to compare? outputFormat=mat