Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",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.004823/0.004823, allocations: 105 kB / 15.74 MB, free: 6.035 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.001168/0.001168, allocations: 196 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3425, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001756/0.3443, allocations: 0.5399 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3458, allocations: 1.137 MB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.3458, allocations: 0 / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.209e-05/0.3459, allocations: 3.938 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.346, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3465, allocations: 175.4 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.3466, allocations: 15.98 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.3466, allocations: 0 / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.3467, allocations: 11.98 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.3467, allocations: 11.92 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3467, allocations: 0 / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3471, allocations: 203.6 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.3472, allocations: 7.984 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3472, allocations: 3.984 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.3475, allocations: 183.7 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3475, allocations: 4 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3475, allocations: 3.938 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3475, allocations: 0 / 1.209 GB, free: 7.902 MB / 0.9669 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.0003437/0.3479, allocations: 371.7 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3479, allocations: 12.62 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.348, allocations: 106 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.348, allocations: 80.12 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3482, allocations: 247.6 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.3482, allocations: 158.9 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.3483, allocations: 150.9 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.08e-05/0.3483, allocations: 104.9 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.3484, allocations: 75.28 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.3484, allocations: 150.6 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.3485, allocations: 166.5 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.3485, allocations: 150.6 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.3488, allocations: 453.9 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.3489, allocations: 173.1 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.3489, allocations: 88.14 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3489, allocations: 79.22 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.349, allocations: 109.8 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.349, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.154e-05/0.349, allocations: 29.7 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.3491, allocations: 126.7 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.3492, allocations: 101.8 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3492, allocations: 33.7 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3493, allocations: 80.14 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3493, allocations: 0 / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3493, allocations: 21.7 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.3494, allocations: 314.8 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.3494, allocations: 4 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.3495, allocations: 11.98 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.3495, allocations: 32.88 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3495, allocations: 4 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.3497, allocations: 49.62 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3497, allocations: 4 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3497, allocations: 4 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3497, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3497, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3497, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3498, allocations: 3.906 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3498, allocations: 7.984 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 9.653e-05/0.3499, allocations: 193.2 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.35, allocations: 108.9 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.35, allocations: 108 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.843e-05/0.3501, allocations: 180.2 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-05/0.3502, allocations: 184.2 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.287e-05/0.3502, allocations: 184.3 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3504, allocations: 401.2 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/0.3505, allocations: 113 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.3505, allocations: 104.9 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.155e-05/0.3506, allocations: 180.3 kB / 1.214 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.3506, allocations: 184.3 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.408e-05/0.3507, allocations: 184.1 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.137e-05/0.3507, allocations: 180.2 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3508, allocations: 303.8 kB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3509, allocations: 182 kB / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.351, allocations: 192.2 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3511, allocations: 101 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3511, allocations: 180.2 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3512, allocations: 101 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.3512, allocations: 87.27 kB / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3512, allocations: 0 / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003029/0.3515, allocations: 59.97 kB / 1.216 GB, free: 0.5703 MB / 0.9669 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.0008747/0.3524, allocations: 1.012 MB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.913e-05/0.3525, allocations: 12.33 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3525, allocations: 4 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3525, allocations: 0 / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3528, allocations: 459.8 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3538, allocations: 1.341 MB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3541, allocations: 0.6729 MB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.86e-05/0.3542, allocations: 15.92 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.3542, allocations: 11.44 kB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3542, allocations: 0 / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3747, allocations: 2.574 MB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.969, allocations: 10.25 kB / 1.222 GB, free: 10.52 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat does not exist to compare? outputFormat=mat