Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006327/0.006327, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001588/0.001588, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3589, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001855/0.3608, allocations: 0.5244 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3624, allocations: 1.125 MB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.3624, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.3626, allocations: 4 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.3626, allocations: 3.938 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.3632, allocations: 179.4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.3632, allocations: 19.86 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.3633, allocations: 8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.3633, allocations: 7.984 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.3634, allocations: 8 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3634, allocations: 0 / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.3638, allocations: 199.7 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.3639, allocations: 4 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.3639, allocations: 23.8 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.3642, allocations: 183.7 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3642, allocations: 0 / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3642, allocations: 0 / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3643, allocations: 4 kB / 1.168 GB, free: 5.059 MB / 0.92 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.0004082/0.3647, allocations: 370.3 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3647, allocations: 8.031 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.3648, allocations: 110 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.3649, allocations: 80.16 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.365, allocations: 243.6 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.3651, allocations: 150.9 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.3651, allocations: 154.9 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.3652, allocations: 108.9 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.3653, allocations: 79.28 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3653, allocations: 150.6 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.3654, allocations: 150.6 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.3654, allocations: 158.5 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.3657, allocations: 450 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.3658, allocations: 169.1 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.3658, allocations: 80.14 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3659, allocations: 83.2 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.3659, allocations: 113.8 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3659, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.147e-05/0.366, allocations: 29.64 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3661, allocations: 130.7 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3662, allocations: 101.8 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3662, allocations: 25.7 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.3663, allocations: 84.14 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3663, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.3663, allocations: 21.7 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3664, allocations: 310.8 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.3665, allocations: 7.984 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.3665, allocations: 15.94 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.3666, allocations: 24.78 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3666, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001374/0.3667, allocations: 61.72 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3667, allocations: 4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3667, allocations: 0 / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3668, allocations: 3.984 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3668, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3668, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.3669, allocations: 4 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3669, allocations: 3.938 kB / 1.172 GB, free: 1.398 MB / 0.92 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.0001066/0.367, allocations: 189.2 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.3671, allocations: 112.8 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.3671, allocations: 116.1 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/0.3672, allocations: 180.3 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/0.3673, allocations: 180.2 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/0.3673, allocations: 176.3 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3676, allocations: 413.2 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.3676, allocations: 104.9 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.3676, allocations: 105 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.3677, allocations: 180.2 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.3678, allocations: 184.2 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-05/0.3678, allocations: 180.2 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.943e-05/0.3679, allocations: 188.3 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.368, allocations: 303.9 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.3681, allocations: 190 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.3682, allocations: 180.2 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3683, allocations: 109 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.3683, allocations: 184.2 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3684, allocations: 105 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.3684, allocations: 79.28 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3684, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003256/0.3688, allocations: 59.92 kB / 1.175 GB, free: 13.73 MB / 0.9356 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.01855/0.3873, allocations: 1.015 MB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3876, allocations: 15.98 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3876, allocations: 3.938 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.3876, allocations: 0 / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.3881, allocations: 455.7 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3893, allocations: 1.329 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3896, allocations: 0.6768 MB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.3897, allocations: 4 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3898, allocations: 15.42 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3898, allocations: 0 / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4134, allocations: 2.565 MB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.429, allocations: 10.22 kB / 1.181 GB, free: 7.68 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat does not exist to compare? outputFormat=mat