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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.077/2.077, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009615/0.0009612, allocations: 183.1 kB / 491.2 MB, free: 1.586 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.3/1.3, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 91.53 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.959e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2348, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7549/0.9898, allocations: 150.8 MB / 1.36 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.9901, allocations: 86.78 kB / 1.36 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0102/1, allocations: 4.324 MB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1, allocations: 0 / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.482e-06/1, allocations: 3.844 kB / 1.364 GB, free: 32.87 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.0002723/1.001, allocations: 382.5 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/1.001, allocations: 7.719 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/1.001, allocations: 83.08 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.001, allocations: 239 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/1.001, allocations: 150.6 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/1.001, allocations: 156.1 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.399e-05/1.001, allocations: 154.6 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/1.001, allocations: 108.9 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/1.001, allocations: 75.28 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/1.001, allocations: 150.6 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/1.001, allocations: 154.1 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/1.002, allocations: 438.8 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/1.002, allocations: 169 kB / 1.366 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/1.002, allocations: 80.14 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/1.002, allocations: 79.09 kB / 1.366 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.002, allocations: 109.8 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.002, allocations: 7.938 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.907e-05/1.002, allocations: 31.88 kB / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/1.002, allocations: 51.41 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/1.002, allocations: 101.5 kB / 1.367 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/1.002, allocations: 25.7 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/1.002, allocations: 81.59 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/1.002, allocations: 0 / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/1.002, allocations: 0 / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.002, allocations: 321.8 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/1.002, allocations: 9.156 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/1.002, allocations: 5.547 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/1.002, allocations: 14.58 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.002, allocations: 0 / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001267/1.002, allocations: 58.88 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/1.002, allocations: 3.812 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.002, allocations: 5.312 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.002, allocations: 0 / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/1.002, allocations: 0.625 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/1.002, allocations: 4 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/1.003, allocations: 5.391 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/1.003, allocations: 3.719 kB / 1.367 GB, free: 29.63 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.008e-05/1.003, allocations: 180.2 kB / 1.367 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.841e-05/1.003, allocations: 140.3 kB / 1.367 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/1.003, allocations: 102.6 kB / 1.368 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/1.003, allocations: 112.2 kB / 1.368 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.802e-05/1.003, allocations: 185.4 kB / 1.368 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-05/1.003, allocations: 176.3 kB / 1.368 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-05/1.003, allocations: 178 kB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/1.003, allocations: 386.2 kB / 1.369 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/1.003, allocations: 105.9 kB / 1.369 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/1.003, allocations: 105 kB / 1.369 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.778e-05/1.003, allocations: 185.7 kB / 1.369 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/1.003, allocations: 176.3 kB / 1.369 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-05/1.003, allocations: 185.7 kB / 1.369 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.368e-05/1.003, allocations: 180.2 kB / 1.369 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/1.004, allocations: 312.8 kB / 1.37 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/1.004, allocations: 191.4 kB / 1.37 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/1.004, allocations: 178.9 kB / 1.37 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/1.004, allocations: 101 kB / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/1.004, allocations: 181.8 kB / 1.37 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/1.004, allocations: 108.9 kB / 1.37 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.53e-05/1.004, allocations: 84.55 kB / 1.371 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 1.371 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003429/1.004, allocations: 65.23 kB / 1.371 GB, free: 25.97 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.0008415/1.005, allocations: 1.029 MB / 1.372 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.433e-05/1.005, allocations: 66.42 kB / 1.372 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.005, allocations: 0 / 1.372 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/1.005, allocations: 0 / 1.372 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.005, allocations: 0.5238 MB / 1.372 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/1.006, allocations: 203.7 kB / 1.372 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.006, allocations: 0.6757 MB / 1.373 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.66e-05/1.006, allocations: 11.08 kB / 1.373 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/1.006, allocations: 7.438 kB / 1.373 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.006, allocations: 0 / 1.373 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/1.027, allocations: 1.897 MB / 1.375 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.027, allocations: 229.8 kB / 1.375 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/2.406, allocations: 3.938 kB / 1.375 GB, free: 23.09 MB / 0.8386 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/linux/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=50 --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