Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002627/0.002626, allocations: 175.8 kB / 326.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 89.86 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 11.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008102/0.1936, allocations: 269.6 kB / 0.8998 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1952, allocations: 1.059 MB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.1953, allocations: 0 / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1954, allocations: 7.938 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.1955, allocations: 4 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.196, allocations: 143.7 kB / 0.9009 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.1961, allocations: 11.98 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1961, allocations: 4 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.1961, allocations: 11.92 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.1962, allocations: 11.92 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1962, allocations: 4 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.1966, allocations: 163.7 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.1967, allocations: 15.98 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1967, allocations: 25.7 kB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1969, allocations: 135.8 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1969, allocations: 4 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.197, allocations: 0 / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.197, allocations: 0 / 0.9013 GB, free: 63.61 MB / 0.6042 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.0002857/0.1973, allocations: 365.4 kB / 0.9017 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1973, allocations: 8.031 kB / 0.9017 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1974, allocations: 0.9375 kB / 0.9017 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.1975, allocations: 172.3 kB / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1975, allocations: 384 / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1975, allocations: 384 / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1976, allocations: 45.8 kB / 0.9019 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1977, allocations: 0 / 0.9019 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1977, allocations: 0 / 0.9019 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.1977, allocations: 4 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.1978, allocations: 4 kB / 0.9019 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1979, allocations: 153.7 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.198, allocations: 38.53 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.198, allocations: 8.922 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1981, allocations: 4 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1981, allocations: 38.5 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.1981, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001728/0.1983, allocations: 57.66 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1983, allocations: 55.53 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.1984, allocations: 97.86 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1984, allocations: 25.7 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.1984, allocations: 84.12 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1985, allocations: 11.84 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1985, allocations: 0 / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.1986, allocations: 310.8 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.1986, allocations: 4 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.1986, allocations: 20.11 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.1987, allocations: 4 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1987, allocations: 0 / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.1988, allocations: 45.69 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1988, allocations: 11.94 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1988, allocations: 0 / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1989, allocations: 7.922 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.1989, allocations: 7.922 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1989, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1989, allocations: 4.094 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1989, allocations: 4 kB / 0.9028 GB, free: 61.83 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.199, allocations: 109.8 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.199, allocations: 15.78 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.146e-05/0.199, allocations: 3.125 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1991, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1991, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.1991, allocations: 81.38 kB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1991, allocations: 0 / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.1992, allocations: 8 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1993, allocations: 0 / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.627e-05/0.1994, allocations: 125 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001274/0.1995, allocations: 230.7 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.393e-05/0.1995, allocations: 8 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.1996, allocations: 87.33 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of Backend: time 5.41e-07/0.1996, allocations: 0 / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.2006, allocations: 284.2 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003281/0.201, allocations: 0.5469 MB / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.004996/0.206, allocations: 1.653 MB / 0.9059 GB, free: 58.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)