Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_11_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_11_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.00533/0.005337, allocations: 99.56 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.001259/0.001259, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.669/2.669, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 71.88 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3013, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001671/0.303, allocations: 0.5301 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3045, allocations: 1.14 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.3046, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.224e-05/0.3046, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.3047, allocations: 4 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.3052, allocations: 171.4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.3052, allocations: 11.98 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.3053, allocations: 8 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.3053, allocations: 7.984 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.3054, allocations: 15.86 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3054, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.3057, allocations: 199.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.3058, allocations: 8 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.3058, allocations: 3.984 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.3061, allocations: 191.5 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3061, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3061, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3062, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 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.0003764/0.3065, allocations: 367 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3066, allocations: 12.03 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.3066, allocations: 110 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.3067, allocations: 76.22 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3069, allocations: 243.7 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.3069, allocations: 162.9 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.307, allocations: 154.9 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.3071, allocations: 104.9 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.3071, allocations: 75.28 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.3072, allocations: 154.6 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.3073, allocations: 154.6 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.3073, allocations: 150.6 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.3076, allocations: 453.9 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.3077, allocations: 173 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3078, allocations: 96.14 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3078, allocations: 79.22 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.3079, allocations: 105.8 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3079, allocations: 0 / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/0.308, allocations: 37.59 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.308, allocations: 126.7 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3081, allocations: 101.8 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3082, allocations: 33.7 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.3082, allocations: 80.14 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3082, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3083, allocations: 17.7 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3084, allocations: 318.8 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.3084, allocations: 4 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.3084, allocations: 11.98 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.3085, allocations: 28.94 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3085, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.3086, allocations: 53.56 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3087, allocations: 8 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3087, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3087, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3087, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3087, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.3088, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3088, allocations: 7.984 kB / 1.226 GB, free: 8.344 MB / 0.9825 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 0.0001067/0.3089, allocations: 197.7 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.309, allocations: 104.9 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.309, allocations: 112 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.805e-05/0.3091, allocations: 180.3 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/0.3092, allocations: 184.2 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/0.3093, allocations: 180.3 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3095, allocations: 405.2 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/0.3095, allocations: 112.9 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3096, allocations: 101 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.3097, allocations: 180.2 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/0.3097, allocations: 184.3 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/0.3098, allocations: 184.2 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.178e-05/0.3099, allocations: 184.2 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.31, allocations: 307.7 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.3101, allocations: 182.2 kB / 1.228 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.3102, allocations: 188.2 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.3103, allocations: 104.9 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.3104, allocations: 180.2 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.3104, allocations: 108.9 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.3105, allocations: 83.27 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3105, allocations: 4 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003052/0.3108, allocations: 55.73 kB / 1.229 GB, free: 4.676 MB / 0.9825 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.001061/0.3119, allocations: 1.019 MB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.312, allocations: 16.27 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.312, allocations: 0 / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.312, allocations: 0 / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3123, allocations: 453.2 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3134, allocations: 1.337 MB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3137, allocations: 0.6729 MB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.3138, allocations: 7.984 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.3138, allocations: 19.42 kB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3138, allocations: 0 / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.423/0.7369, allocations: 2.567 MB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.72/22.46, allocations: 9.438 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat does not exist to compare? outputFormat=mat