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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 176.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009943, allocations: 102.5 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.399e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9901/1.283, allocations: 150 MB / 1.353 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.283, allocations: 86.5 kB / 1.353 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01195/1.295, allocations: 4.326 MB / 1.357 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.295, allocations: 0 / 1.357 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.295, allocations: 0 / 1.357 GB, free: 33.69 MB / 0.8386 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.0003504/1.296, allocations: 381.7 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.296, allocations: 12 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/1.296, allocations: 75.28 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.296, allocations: 244.5 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/1.296, allocations: 154.4 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/1.296, allocations: 150.6 kB / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.206e-05/1.296, allocations: 162.5 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.116e-05/1.296, allocations: 101 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.296, allocations: 75.28 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/1.296, allocations: 154.2 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/1.296, allocations: 150.6 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/1.297, allocations: 440.5 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/1.297, allocations: 169.1 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/1.297, allocations: 84.12 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/1.297, allocations: 87.03 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.297, allocations: 105.8 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.297, allocations: 4 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.135e-05/1.297, allocations: 33.52 kB / 1.359 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/1.297, allocations: 51.41 kB / 1.359 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/1.297, allocations: 94.58 kB / 1.359 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.297, allocations: 25.7 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/1.297, allocations: 80.14 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/1.297, allocations: 3.594 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/1.297, allocations: 0 / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.297, allocations: 321.5 kB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/1.297, allocations: 7.812 kB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/1.297, allocations: 10.23 kB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/1.297, allocations: 14.66 kB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.297, allocations: 3.953 kB / 1.36 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/1.298, allocations: 50.61 kB / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.298, allocations: 7.688 kB / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.298, allocations: 0 / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.298, allocations: 3.844 kB / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/1.298, allocations: 4.125 kB / 1.36 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/1.298, allocations: 0 / 1.36 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/1.298, allocations: 3.234 kB / 1.36 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.298, allocations: 3.844 kB / 1.36 GB, free: 30.44 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/1.298, allocations: 180.1 kB / 1.36 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.465e-05/1.298, allocations: 138.4 kB / 1.36 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/1.298, allocations: 111.3 kB / 1.36 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.298, allocations: 108.7 kB / 1.361 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/1.298, allocations: 180.2 kB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.386e-05/1.298, allocations: 178.9 kB / 1.361 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-05/1.298, allocations: 180.2 kB / 1.361 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.298, allocations: 388.5 kB / 1.361 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/1.298, allocations: 105 kB / 1.362 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/1.298, allocations: 104.9 kB / 1.362 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/1.299, allocations: 182.4 kB / 1.362 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/1.299, allocations: 176.3 kB / 1.362 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/1.299, allocations: 180.3 kB / 1.362 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.392e-05/1.299, allocations: 187.7 kB / 1.362 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/1.299, allocations: 303.1 kB / 1.363 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/1.299, allocations: 189.4 kB / 1.363 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/1.299, allocations: 180.2 kB / 1.363 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/1.299, allocations: 101 kB / 1.363 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.299, allocations: 188.2 kB / 1.363 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/1.299, allocations: 108.9 kB / 1.363 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.357e-05/1.299, allocations: 81.98 kB / 1.363 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.299, allocations: 0 / 1.363 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003789/1.3, allocations: 72.84 kB / 1.363 GB, free: 26.79 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009667/1.301, allocations: 1.025 MB / 1.364 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001118/1.301, allocations: 66.23 kB / 1.365 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.301, allocations: 0 / 1.365 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.301, allocations: 0 / 1.365 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/1.301, allocations: 0.5251 MB / 1.365 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/1.301, allocations: 200.2 kB / 1.365 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.302, allocations: 0.6758 MB / 1.366 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.071e-05/1.302, allocations: 7.281 kB / 1.366 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.302, allocations: 7.438 kB / 1.366 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.302, allocations: 0 / 1.366 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/1.324, allocations: 1.887 MB / 1.368 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.324, allocations: 233.3 kB / 1.368 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.851, allocations: 0 / 1.368 GB, free: 23.89 MB / 0.8386 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/linux/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