Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0059/0.0059, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.001146/0.001146, allocations: 199.8 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 76.06 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7114, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001906/0.7134, allocations: 0.5389 MB / 1.088 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.7151, allocations: 1.131 MB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.7151, allocations: 0 / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.7153, allocations: 1.234 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.7153, allocations: 5.031 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.7158, allocations: 165.7 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.7159, allocations: 23.47 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.716, allocations: 5.672 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.716, allocations: 6.906 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.7161, allocations: 6.344 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.7161, allocations: 1.188 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.7165, allocations: 204.6 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.7166, allocations: 4.438 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.7166, allocations: 10 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.717, allocations: 195.4 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.717, allocations: 1.031 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.717, allocations: 4 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.717, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 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.0003514/0.7174, allocations: 374.8 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.7174, allocations: 10.58 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.7175, allocations: 106 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.7175, allocations: 77.8 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.7176, allocations: 242.8 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.7177, allocations: 156.1 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.7177, allocations: 153.2 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.7178, allocations: 106.3 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7178, allocations: 75.28 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.7178, allocations: 151.1 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.7178, allocations: 155.8 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.7179, allocations: 158.5 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.7181, allocations: 449 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.7181, allocations: 167.3 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.7182, allocations: 80.66 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.7182, allocations: 83.22 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.595e-05/0.7183, allocations: 107.7 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.7183, allocations: 0 / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.316e-05/0.7184, allocations: 40.38 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.7184, allocations: 127.3 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.7186, allocations: 103.5 kB / 1.092 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.7186, allocations: 25.7 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.7186, allocations: 89.89 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.7186, allocations: 1.094 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.7187, allocations: 21.36 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.7188, allocations: 313 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.7188, allocations: 6.281 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.7189, allocations: 13.08 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.7189, allocations: 19.28 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7189, allocations: 5.062 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.7191, allocations: 59.19 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7191, allocations: 5.219 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7191, allocations: 9.75 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7191, allocations: 0 / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-06/0.7191, allocations: 1.188 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7191, allocations: 0.7969 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.7192, allocations: 3 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.7192, allocations: 6.281 kB / 1.093 GB, free: 16.39 MB / 0.8731 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.0001032/0.7193, allocations: 192.4 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.7194, allocations: 111.8 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.7195, allocations: 105.8 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.182e-05/0.7195, allocations: 181.7 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-05/0.7196, allocations: 181.7 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.612e-05/0.7197, allocations: 182.1 kB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.7199, allocations: 402.9 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.7199, allocations: 114 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.7199, allocations: 103.2 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-05/0.72, allocations: 182.1 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.7201, allocations: 178.1 kB / 1.095 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/0.7201, allocations: 185.6 kB / 1.095 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.557e-05/0.7202, allocations: 178.3 kB / 1.095 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.7203, allocations: 312.7 kB / 1.096 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.7204, allocations: 188.4 kB / 1.096 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.7205, allocations: 187.4 kB / 1.096 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.7206, allocations: 102.8 kB / 1.096 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.7206, allocations: 181.7 kB / 1.096 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.7207, allocations: 106.5 kB / 1.096 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.7207, allocations: 80.86 kB / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7207, allocations: 0 / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003903/0.7211, allocations: 59.3 kB / 1.096 GB, free: 12.82 MB / 0.8731 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.0008434/0.722, allocations: 1.01 MB / 1.097 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.986e-05/0.7221, allocations: 14.31 kB / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7221, allocations: 0 / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.7221, allocations: 4 kB / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.7224, allocations: 454.5 kB / 1.098 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009993/0.7234, allocations: 1.323 MB / 1.099 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.7237, allocations: 0.6737 MB / 1.1 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000106/0.7238, allocations: 8.984 kB / 1.1 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.7238, allocations: 15 kB / 1.1 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7238, allocations: 0 / 1.1 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.7453, allocations: 2.561 MB / 1.102 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/8.112, allocations: 19.48 kB / 1.102 GB, free: 8.793 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat does not exist to compare? outputFormat=mat