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.006435/0.006435, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.00133/0.00133, allocations: 194 kB / 16.67 MB, free: 5.965 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8507, allocations: 157.4 MB / 1.207 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001935/0.8527, allocations: 0.532 MB / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.8544, allocations: 1.136 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.8544, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.8545, allocations: 11.98 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.8546, allocations: 0 / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.8552, allocations: 167.4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.8553, allocations: 16 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.8553, allocations: 7.969 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.8553, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.8554, allocations: 11.88 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.8554, allocations: 4 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.8558, allocations: 199.7 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.8559, allocations: 4 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.8559, allocations: 4 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.8563, allocations: 195.6 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8563, allocations: 0 / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8563, allocations: 4 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8563, allocations: 4 kB / 1.209 GB, free: 11.33 MB / 0.9356 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.0003948/0.8567, allocations: 369.8 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8567, allocations: 8.031 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.8568, allocations: 106 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.8569, allocations: 80.22 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.857, allocations: 239.6 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.8571, allocations: 158.9 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.8572, allocations: 162.9 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.8573, allocations: 104.9 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.8573, allocations: 79.22 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.8573, allocations: 150.6 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.8574, allocations: 154.6 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.732e-05/0.8575, allocations: 154.6 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.8578, allocations: 453.9 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.8579, allocations: 169.1 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.8579, allocations: 88.12 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.8579, allocations: 87.16 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.858, allocations: 105.8 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.858, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.017e-05/0.8581, allocations: 33.69 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.8582, allocations: 126.7 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8583, allocations: 105.8 kB / 1.212 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.8583, allocations: 25.7 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.8584, allocations: 84.14 kB / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.8584, allocations: 4 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.8584, allocations: 21.7 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8585, allocations: 310.8 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.8586, allocations: 8 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.8586, allocations: 11.98 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.8587, allocations: 20.84 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8587, allocations: 96 / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001392/0.8588, allocations: 65.56 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8588, allocations: 4 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8588, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.8589, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.8589, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8589, allocations: 4 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.859, allocations: 3.984 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.859, allocations: 4 kB / 1.213 GB, free: 7.656 MB / 0.9356 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.811e-05/0.8591, allocations: 193.1 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.8592, allocations: 112.8 kB / 1.213 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.8592, allocations: 108 kB / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/0.8593, allocations: 180.3 kB / 1.213 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.53e-05/0.8593, allocations: 184.2 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/0.8594, allocations: 180.3 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.8597, allocations: 401.3 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.8597, allocations: 120.9 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.8597, allocations: 105 kB / 1.214 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.8598, allocations: 180.2 kB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.8599, allocations: 176.3 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.735e-05/0.8599, allocations: 180.3 kB / 1.215 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-05/0.86, allocations: 184.2 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.8602, allocations: 307.8 kB / 1.215 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.8602, allocations: 186 kB / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.8603, allocations: 180.2 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.8604, allocations: 112.9 kB / 1.216 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.8605, allocations: 180.3 kB / 1.216 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.8605, allocations: 108.9 kB / 1.216 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.8606, allocations: 83.22 kB / 1.216 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8606, allocations: 0 / 1.216 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003343/0.8609, allocations: 59.97 kB / 1.216 GB, free: 3.984 MB / 0.9356 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.0009095/0.8618, allocations: 1.01 MB / 1.217 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.8619, allocations: 11.94 kB / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8619, allocations: 0 / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.8619, allocations: 0 / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.8623, allocations: 463.7 kB / 1.218 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.8633, allocations: 1.329 MB / 1.219 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.8636, allocations: 0.6729 MB / 1.22 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.039e-05/0.8637, allocations: 7.984 kB / 1.22 GB, free: 432 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.8637, allocations: 11.44 kB / 1.22 GB, free: 424 kB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8637, allocations: 0 / 1.22 GB, free: 424 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.8849, allocations: 2.566 MB / 1.222 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.94, allocations: 11.97 kB / 1.222 GB, free: 13.97 MB / 0.9512 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