Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_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.001191/0.001191, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 185.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 70.97 kB / 0.6718 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2654, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001905/0.2673, allocations: 0.5401 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2688, allocations: 1.125 MB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.2688, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.755e-05/0.2689, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.269, allocations: 4 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function 'Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.2695, allocations: 175.4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.2695, allocations: 15.98 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.2696, allocations: 11.94 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.2696, allocations: 7.938 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.2697, allocations: 7.984 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2697, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.27, allocations: 207.6 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.2701, allocations: 7.984 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.2701, allocations: 7.922 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2704, allocations: 187.7 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2704, allocations: 0 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2704, allocations: 0 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2704, allocations: 0 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003744/0.2708, allocations: 367.6 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2708, allocations: 15.97 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2709, allocations: 30.75 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.2709, allocations: 4.844 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.271, allocations: 168.7 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.271, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2711, allocations: 4.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2712, allocations: 49.56 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2712, allocations: 4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.2712, allocations: 0 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.2712, allocations: 4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.2713, allocations: 7.984 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.2714, allocations: 161.6 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.2715, allocations: 26.61 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.2715, allocations: 12.91 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2715, allocations: 3.938 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2716, allocations: 46.5 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2716, allocations: 0 / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.2717, allocations: 53.67 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2718, allocations: 51.41 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.2718, allocations: 97.86 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2719, allocations: 25.7 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.2719, allocations: 80.39 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.2719, allocations: 11.91 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.272, allocations: 17.7 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2721, allocations: 310.8 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.2721, allocations: 8 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.2721, allocations: 11.98 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.2722, allocations: 20.8 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2722, allocations: 4 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.674e-05/0.2723, allocations: 61.67 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2723, allocations: 8.875 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2723, allocations: 0 / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2723, allocations: 0 / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.2723, allocations: 0 / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2723, allocations: 4 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.2723, allocations: 0 / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2724, allocations: 3.938 kB / 0.7875 GB, free: 9.086 MB / 0.6075 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 6.976e-05/0.2724, allocations: 113.8 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2724, allocations: 7.969 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.2725, allocations: 7.109 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2725, allocations: 4 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2725, allocations: 3.938 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2725, allocations: 0 / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.2726, allocations: 149.7 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2726, allocations: 3.938 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-06/0.2726, allocations: 4 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2726, allocations: 0 / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.2726, allocations: 0 / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2726, allocations: 4 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2726, allocations: 0 / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.2727, allocations: 81.02 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2728, allocations: 81.05 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2728, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.2729, allocations: 4 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.2729, allocations: 4 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2729, allocations: 8.016 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.273, allocations: 79.28 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.273, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.2732, allocations: 55.98 kB / 0.7881 GB, free: 8.387 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.0008097/0.274, allocations: 0.8206 MB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.2741, allocations: 23.98 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2741, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.2742, allocations: 15.92 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.2743, allocations: 3.047 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.2747, allocations: 162.6 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2749, allocations: 0.6768 MB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.2751, allocations: 19.97 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.2751, allocations: 19.42 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2751, allocations: 0 / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2939, allocations: 2.565 MB / 0.7923 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.284, allocations: 14.77 kB / 0.7923 GB, free: 4.191 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)