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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006849/0.006856, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001706/0.001706, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 66.02 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2327, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001586/0.2343, allocations: 0.536 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2357, allocations: 1.134 MB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.2357, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.2358, allocations: 4 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.2359, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.2363, allocations: 171.4 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.2364, allocations: 19.98 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.2364, allocations: 3.984 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.2365, allocations: 4 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.2365, allocations: 11.94 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.2365, allocations: 4 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.2369, allocations: 199.7 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.2369, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2369, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2372, allocations: 195.5 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2372, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2372, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.2372, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 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.0003128/0.2376, allocations: 366.4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2376, allocations: 12.03 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2376, allocations: 106 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.2377, allocations: 80.22 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2378, allocations: 243.6 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.2379, allocations: 150.9 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.2379, allocations: 154.9 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.659e-05/0.238, allocations: 116.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.238, allocations: 79.22 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.2381, allocations: 150.6 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/0.2381, allocations: 150.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.2382, allocations: 150.6 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.2384, allocations: 453.9 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.2385, allocations: 173.1 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.2385, allocations: 84.14 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2386, allocations: 83.22 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2386, allocations: 109.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2386, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.228e-05/0.2387, allocations: 29.61 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2387, allocations: 126.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.2388, allocations: 109.8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2389, allocations: 25.7 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.2389, allocations: 80.14 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.2389, allocations: 4 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.2389, allocations: 21.7 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.239, allocations: 318.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.2391, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.2391, allocations: 11.98 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.2392, allocations: 20.86 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2392, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.2393, allocations: 57.61 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2393, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2393, allocations: 12.25 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2393, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2393, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2393, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.2394, allocations: 7.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2394, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 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 8.564e-05/0.2395, allocations: 189.1 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2396, allocations: 108.9 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.2396, allocations: 112 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.426e-05/0.2397, allocations: 180.3 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.525e-05/0.2397, allocations: 176.3 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.894e-05/0.2398, allocations: 188.2 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.24, allocations: 401.2 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.24, allocations: 112.9 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2401, allocations: 112.9 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/0.2401, allocations: 176.3 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.2402, allocations: 184.2 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.635e-05/0.2402, allocations: 176.3 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.495e-05/0.2403, allocations: 184.2 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2404, allocations: 315.7 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.2405, allocations: 186 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.2406, allocations: 176.3 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.2406, allocations: 104.9 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.2407, allocations: 188.2 kB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2407, allocations: 101 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.2408, allocations: 87.22 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2408, allocations: 0 / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002889/0.2411, allocations: 59.98 kB / 1.096 GB, free: 8.398 MB / 0.8575 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.0007727/0.2418, allocations: 1.013 MB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.2419, allocations: 8 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2419, allocations: 4.062 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.2419, allocations: 3.938 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2423, allocations: 460.8 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.2432, allocations: 1.321 MB / 1.099 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2434, allocations: 0.6768 MB / 1.1 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.2435, allocations: 12.08 kB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2435, allocations: 11.44 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2435, allocations: 0 / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/0.3846, allocations: 2.556 MB / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.057, allocations: 24.62 kB / 1.102 GB, free: 2.328 MB / 0.8575 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/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