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.0105/0.0105, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001997/0.001997, allocations: 190.8 kB / 16.67 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.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.289/2.289, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 70.12 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2459, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001799/0.2478, allocations: 0.5225 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2493, allocations: 1.138 MB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.2494, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.2495, allocations: 8 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.2495, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.2501, allocations: 167.4 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.2501, allocations: 15.98 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.2502, allocations: 0 / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.2502, allocations: 15.97 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.2503, allocations: 7.938 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.2503, allocations: 8 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.2507, allocations: 199.6 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.2507, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.2508, allocations: 4 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.2511, allocations: 187.7 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2511, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2511, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.2511, allocations: 0 / 1.09 GB, free: 15.71 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.0003523/0.2515, allocations: 366.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2515, allocations: 12.03 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.2516, allocations: 106 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.2516, allocations: 80.2 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2518, allocations: 243.7 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.2518, allocations: 150.9 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.2519, allocations: 158.9 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.252, allocations: 112.9 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.252, allocations: 75.28 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.2521, allocations: 154.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.2521, allocations: 154.5 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.2522, allocations: 150.6 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2524, allocations: 457.9 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.2525, allocations: 173.1 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.2526, allocations: 80.14 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2526, allocations: 79.22 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.2527, allocations: 117.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2527, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.935e-05/0.2527, allocations: 29.61 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.2528, allocations: 126.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2529, allocations: 109.8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2529, allocations: 25.7 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.253, allocations: 80.14 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.253, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.253, allocations: 17.72 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2531, allocations: 318.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.2532, allocations: 7.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.2532, allocations: 8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.2533, allocations: 24.84 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2533, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.2534, allocations: 53.62 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2534, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2534, allocations: 3.938 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2534, allocations: 8.109 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2535, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.2535, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.2535, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2536, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 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.43e-05/0.2537, allocations: 189.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.2537, allocations: 108.9 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.2538, allocations: 120 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.2538, allocations: 180.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-05/0.2539, allocations: 176.3 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-05/0.254, allocations: 180.2 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2542, allocations: 405.4 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.2542, allocations: 112.8 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.2543, allocations: 109 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.58e-05/0.2543, allocations: 180.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.2544, allocations: 184.2 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.435e-05/0.2545, allocations: 180.3 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.025e-05/0.2545, allocations: 184.2 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2547, allocations: 307.7 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.2548, allocations: 201.9 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.2548, allocations: 176.3 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.2549, allocations: 104.9 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.255, allocations: 180.3 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.255, allocations: 109 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.2551, allocations: 87.22 kB / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2551, allocations: 0 / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003332/0.2554, allocations: 55.98 kB / 1.096 GB, free: 8.371 MB / 0.8575 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.000856/0.2563, allocations: 1.002 MB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.2564, allocations: 19.91 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2564, allocations: 64 / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.2564, allocations: 7.938 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.2567, allocations: 455.7 kB / 1.098 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.2577, allocations: 1.321 MB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.258, allocations: 0.6806 MB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.839e-05/0.2581, allocations: 8.078 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.2581, allocations: 23.42 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.2581, allocations: 0 / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.2762, allocations: 2.548 MB / 1.102 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.097, allocations: 33.72 kB / 1.102 GB, free: 2.297 MB / 0.8575 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