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.004751/0.004751, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001279/0.001279, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.364/2.364, allocations: 437.1 MB / 0.7106 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7242, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001648/0.7259, allocations: 0.5263 MB / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.7274, allocations: 1.135 MB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.7275, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.754e-05/0.7276, allocations: 4 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.7276, allocations: 11.86 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.7281, allocations: 167.5 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.7282, allocations: 19.92 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.7282, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.7282, allocations: 4 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.7283, allocations: 7.938 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.7283, allocations: 4 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.7287, allocations: 203.7 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.7287, allocations: 4 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.7287, allocations: 11.91 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.729, allocations: 187.2 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.729, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7291, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7291, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 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.0003775/0.7294, allocations: 371 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7295, allocations: 12.92 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.7295, allocations: 110 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.7296, allocations: 80.16 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.7298, allocations: 251.6 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.7299, allocations: 150.9 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.7299, allocations: 150.9 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.479e-05/0.73, allocations: 104.9 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.73, allocations: 83.28 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.7301, allocations: 150.6 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.7302, allocations: 150.6 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.7303, allocations: 154.5 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.7306, allocations: 457.9 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.7307, allocations: 169.1 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.7307, allocations: 84.08 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.7307, allocations: 79.22 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.7308, allocations: 105.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.687e-06/0.7308, allocations: 8 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.269e-05/0.7309, allocations: 33.69 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.7309, allocations: 126.7 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.7311, allocations: 113.8 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.7311, allocations: 25.7 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.7311, allocations: 84.12 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.7311, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.7312, allocations: 25.7 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7313, allocations: 314.8 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.7313, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.7314, allocations: 11.98 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.7314, allocations: 32.72 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7314, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.7316, allocations: 49.62 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7316, allocations: 8 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7316, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.7316, allocations: 4.125 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.7316, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7316, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.7317, allocations: 4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.7317, allocations: 3.984 kB / 1.172 GB, free: 13.83 MB / 0.9044 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.0001056/0.7318, allocations: 189.1 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.7319, allocations: 108.9 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.732, allocations: 108.1 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/0.732, allocations: 180.3 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.569e-05/0.7321, allocations: 184.2 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.707e-05/0.7322, allocations: 180.3 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.7324, allocations: 401.3 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-05/0.7325, allocations: 112.9 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.7325, allocations: 105 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.376e-05/0.7326, allocations: 188.2 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.7327, allocations: 176.3 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.096e-05/0.7328, allocations: 180.2 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.051e-05/0.7329, allocations: 184.2 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.733, allocations: 311.7 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.7331, allocations: 190 kB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.7332, allocations: 184.2 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.7333, allocations: 101 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.7333, allocations: 180.2 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.7334, allocations: 113 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.7334, allocations: 83.27 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7335, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003045/0.7338, allocations: 59.73 kB / 1.175 GB, free: 10.16 MB / 0.9044 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.001103/0.7349, allocations: 1.02 MB / 1.176 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.735, allocations: 11.98 kB / 1.176 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.735, allocations: 0 / 1.176 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.735, allocations: 4.062 kB / 1.176 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.7353, allocations: 456.2 kB / 1.177 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7364, allocations: 1.325 MB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.7367, allocations: 0.6729 MB / 1.179 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.517e-05/0.7368, allocations: 15.97 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.7368, allocations: 15.53 kB / 1.179 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.7368, allocations: 0 / 1.179 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/2.841, allocations: 2.562 MB / 1.181 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/14.74, allocations: 8.438 kB / 1.181 GB, free: 4.102 MB / 0.9044 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=400 --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