Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001354/0.001354, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 99.66 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.028e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2759, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.278, allocations: 150.5 MB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.278, allocations: 91.97 kB / 1.353 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/1.29, allocations: 4.48 MB / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.29, allocations: 0 / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.29, allocations: 0 / 1.357 GB, free: 33.53 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.0003882/1.29, allocations: 373.5 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.29, allocations: 11.53 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/1.29, allocations: 75.28 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.291, allocations: 248.7 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/1.291, allocations: 154.4 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/1.291, allocations: 154.6 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.614e-05/1.291, allocations: 150.6 kB / 1.359 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/1.291, allocations: 101 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/1.291, allocations: 75.28 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/1.291, allocations: 154.4 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/1.291, allocations: 158.6 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/1.291, allocations: 434.2 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/1.291, allocations: 169 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/1.291, allocations: 80.14 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/1.291, allocations: 85.53 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/1.292, allocations: 105.8 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 3.627e-06/1.292, allocations: 3.984 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.316e-05/1.292, allocations: 41.45 kB / 1.36 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/1.292, allocations: 51.41 kB / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.292, allocations: 94.61 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.292, allocations: 25.7 kB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/1.292, allocations: 80.14 kB / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/1.292, allocations: 7.875 kB / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.292, allocations: 0 / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.292, allocations: 310.8 kB / 1.36 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/1.292, allocations: 10.42 kB / 1.36 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/1.292, allocations: 7.688 kB / 1.36 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/1.292, allocations: 12.05 kB / 1.36 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.292, allocations: 3.953 kB / 1.36 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001319/1.292, allocations: 50.8 kB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.292, allocations: 11.81 kB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.292, allocations: 0 / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.292, allocations: 0 / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.125e-06/1.292, allocations: 6.984 kB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.292, allocations: 3.938 kB / 1.361 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/1.292, allocations: 7.25 kB / 1.361 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/1.293, allocations: 3.844 kB / 1.361 GB, free: 30.29 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 0.0001042/1.293, allocations: 177.6 kB / 1.361 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.808e-05/1.293, allocations: 145.3 kB / 1.361 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/1.293, allocations: 108.8 kB / 1.361 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/1.293, allocations: 108.7 kB / 1.361 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/1.293, allocations: 179.4 kB / 1.361 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.064e-05/1.293, allocations: 183.3 kB / 1.361 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/1.293, allocations: 176.3 kB / 1.362 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/1.293, allocations: 388.8 kB / 1.362 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.293, allocations: 104.9 kB / 1.362 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/1.293, allocations: 101 kB / 1.362 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-05/1.293, allocations: 183.7 kB / 1.362 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/1.294, allocations: 182.6 kB / 1.363 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.391e-05/1.294, allocations: 184.3 kB / 1.363 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.763e-05/1.294, allocations: 176.3 kB / 1.363 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/1.294, allocations: 305.7 kB / 1.363 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/1.294, allocations: 192.8 kB / 1.363 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/1.294, allocations: 185.1 kB / 1.364 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/1.294, allocations: 105 kB / 1.364 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/1.294, allocations: 179.2 kB / 1.364 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/1.294, allocations: 108.8 kB / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.171e-05/1.294, allocations: 78.66 kB / 1.364 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.294, allocations: 3.844 kB / 1.364 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003921/1.295, allocations: 71.52 kB / 1.364 GB, free: 26.63 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.0009843/1.296, allocations: 1.02 MB / 1.365 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000126/1.296, allocations: 69.59 kB / 1.365 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.296, allocations: 0 / 1.365 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.296, allocations: 0 / 1.365 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/1.296, allocations: 0.5216 MB / 1.366 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/1.297, allocations: 204.5 kB / 1.366 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.297, allocations: 0.6797 MB / 1.366 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.433e-05/1.297, allocations: 6.297 kB / 1.366 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/1.297, allocations: 11.38 kB / 1.366 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.297, allocations: 3.906 kB / 1.366 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/1.318, allocations: 1.916 MB / 1.368 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/1.318, allocations: 235.9 kB / 1.369 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.912, allocations: 0 / 1.369 GB, free: 23.75 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)