Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7629 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 55.91 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 168.7 MB / 1.272 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00195/1.037, allocations: 0.5412 MB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001734/1.039, allocations: 1.205 MB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/1.039, allocations: 0 / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/1.039, allocations: 6.453 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/1.039, allocations: 0 / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/1.039, allocations: 173.8 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/1.039, allocations: 12.06 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/1.039, allocations: 2.453 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/1.04, allocations: 10.64 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/1.04, allocations: 11.55 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/1.04, allocations: 4.875 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/1.04, allocations: 207 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/1.04, allocations: 3.031 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/1.04, allocations: 12.39 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/1.04, allocations: 198.9 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.04, allocations: 1.656 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.04, allocations: 0 / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.04, allocations: 1.219 kB / 1.274 GB, free: 6.242 MB / 0.9981 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.0004192/1.041, allocations: 362.5 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.041, allocations: 15.28 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/1.041, allocations: 106.6 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/1.041, allocations: 77.81 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.041, allocations: 243.1 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/1.041, allocations: 152 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/1.041, allocations: 156.8 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.949e-05/1.041, allocations: 113.9 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.041, allocations: 75.28 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/1.041, allocations: 155.4 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.041, allocations: 150.6 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/1.041, allocations: 151.3 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/1.042, allocations: 456.7 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/1.042, allocations: 170.8 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/1.042, allocations: 80.86 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/1.042, allocations: 83.16 kB / 1.276 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.042, allocations: 111 kB / 1.276 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.042, allocations: 4 kB / 1.276 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.234e-05/1.042, allocations: 31.38 kB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.042, allocations: 135.5 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.042, allocations: 95.83 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/1.042, allocations: 29.7 kB / 1.277 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/1.042, allocations: 85.14 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/1.042, allocations: 0 / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/1.042, allocations: 19.77 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/1.042, allocations: 316.7 kB / 1.277 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/1.042, allocations: 7.484 kB / 1.277 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/1.042, allocations: 13.86 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/1.042, allocations: 20.56 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.042, allocations: 0 / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/1.042, allocations: 59.55 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.042, allocations: 5.094 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.042, allocations: 1.375 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.042, allocations: 4 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/1.042, allocations: 0 / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.042, allocations: 0.9688 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/1.042, allocations: 2.031 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/1.043, allocations: 4.078 kB / 1.277 GB, free: 2.723 MB / 0.9981 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.255e-05/1.043, allocations: 185.1 kB / 1.277 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.043, allocations: 111.7 kB / 1.277 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/1.043, allocations: 116.8 kB / 1.278 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-05/1.043, allocations: 182.8 kB / 1.278 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-05/1.043, allocations: 177.2 kB / 1.278 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.976e-05/1.043, allocations: 181.9 kB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/1.043, allocations: 407.5 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.986e-05/1.044, allocations: 110 kB / 1.279 GB, free: 17.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/1.044, allocations: 110.6 kB / 1.279 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/1.044, allocations: 181.7 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/1.044, allocations: 182.2 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.614e-05/1.044, allocations: 181.1 kB / 1.279 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.714e-05/1.044, allocations: 181.1 kB / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/1.044, allocations: 308.3 kB / 1.28 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.044, allocations: 184 kB / 1.28 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.044, allocations: 178.2 kB / 1.28 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/1.044, allocations: 115.8 kB / 1.28 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/1.044, allocations: 181.8 kB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/1.045, allocations: 106 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.027e-05/1.045, allocations: 84.88 kB / 1.28 GB, free: 15.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.045, allocations: 0 / 1.28 GB, free: 15.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003853/1.045, allocations: 60.23 kB / 1.281 GB, free: 15.14 MB / 1.014 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.001256/1.046, allocations: 1.01 MB / 1.282 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000111/1.046, allocations: 15.12 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.046, allocations: 4.719 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/1.046, allocations: 0.7812 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/1.047, allocations: 455.1 kB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.048, allocations: 1.328 MB / 1.283 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1.048, allocations: 0.6774 MB / 1.284 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001115/1.048, allocations: 13.02 kB / 1.284 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/1.049, allocations: 15.08 kB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.049, allocations: 0.75 kB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/1.077, allocations: 2.544 MB / 1.286 GB, free: 11.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/9.028, allocations: 2.094 kB / 1.286 GB, free: 11.05 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 420.0] TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat does not exist to compare? outputFormat=mat[Calling sys.exit(0), Time elapsed: 15.473057284019887]