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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007419/0.007419, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001924/0.001924, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 482.6 MB / 0.7551 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 68.34 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3008, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001922/0.3027, allocations: 0.536 MB / 1.242 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3046, allocations: 1.122 MB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.3047, allocations: 0 / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3048, allocations: 11.92 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.3049, allocations: 0 / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.3055, allocations: 175.3 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.3056, allocations: 8 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.3056, allocations: 7.984 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.3057, allocations: 8 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.3057, allocations: 8 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3058, allocations: 0 / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.3062, allocations: 203.6 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.3063, allocations: 7.938 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.3063, allocations: 8 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.3067, allocations: 199.7 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3068, allocations: 0 / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3068, allocations: 0 / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3068, allocations: 0 / 1.244 GB, free: 6.633 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.0004433/0.3072, allocations: 378.9 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3073, allocations: 12.03 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.3073, allocations: 106 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.3074, allocations: 76.22 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3076, allocations: 247.6 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.3077, allocations: 154.9 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.3078, allocations: 154.9 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.833e-05/0.3079, allocations: 108.9 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.3079, allocations: 79.28 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.308, allocations: 154.5 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.3081, allocations: 150.6 kB / 1.246 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.3081, allocations: 150.6 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3085, allocations: 453.9 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.3086, allocations: 169.2 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3086, allocations: 80.14 kB / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3086, allocations: 83.16 kB / 1.247 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.3087, allocations: 109.8 kB / 1.247 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3087, allocations: 4 kB / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.21e-05/0.3088, allocations: 29.7 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.3089, allocations: 126.7 kB / 1.247 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.309, allocations: 101.8 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.309, allocations: 25.7 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.3091, allocations: 88.09 kB / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3091, allocations: 0 / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3091, allocations: 29.69 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3093, allocations: 314.8 kB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.3093, allocations: 11.94 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.3094, allocations: 15.92 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.3094, allocations: 20.84 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3094, allocations: 0 / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001374/0.3096, allocations: 53.62 kB / 1.247 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3096, allocations: 12.12 kB / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3096, allocations: 0 / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3096, allocations: 0 / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3096, allocations: 0 / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3096, allocations: 0 / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.3097, allocations: 4 kB / 1.247 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3097, allocations: 0 / 1.247 GB, free: 2.957 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 0.0001169/0.3099, allocations: 193.6 kB / 1.248 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.3099, allocations: 108.9 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.31, allocations: 108.1 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-05/0.3101, allocations: 188.3 kB / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.367e-05/0.3102, allocations: 180.2 kB / 1.248 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/0.3103, allocations: 180.2 kB / 1.248 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.3105, allocations: 405.2 kB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/0.3106, allocations: 108.9 kB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.3106, allocations: 104.9 kB / 1.249 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-05/0.3107, allocations: 180.3 kB / 1.249 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.3108, allocations: 180.2 kB / 1.249 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.931e-05/0.3109, allocations: 176.3 kB / 1.249 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.377e-05/0.311, allocations: 180.3 kB / 1.25 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3111, allocations: 311.8 kB / 1.25 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.3112, allocations: 193.9 kB / 1.25 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3113, allocations: 188.2 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.3114, allocations: 101 kB / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.3115, allocations: 184.2 kB / 1.251 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.3116, allocations: 105 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.3116, allocations: 83.45 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3117, allocations: 0 / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003527/0.312, allocations: 67.66 kB / 1.251 GB, free: 15.29 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.001152/0.3132, allocations: 1.008 MB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.3133, allocations: 19.94 kB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3133, allocations: 0 / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3133, allocations: 0 / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3137, allocations: 459.6 kB / 1.252 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3148, allocations: 1.321 MB / 1.254 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3151, allocations: 0.6807 MB / 1.254 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.3152, allocations: 11.97 kB / 1.254 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.3153, allocations: 15.44 kB / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3153, allocations: 0 / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.6255, allocations: 2.561 MB / 1.257 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.81, allocations: 12.31 kB / 1.257 GB, free: 9.262 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=400 --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