Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_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 8.0.0/package.mo): time 2.508/2.508, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 90.48 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.183e-05, allocations: 0 / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8904, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/1.128, allocations: 138.6 MB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.128, allocations: 87.94 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01916/1.147, allocations: 4.345 MB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/1.147, allocations: 0.6562 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.147, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 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.0005038/1.148, allocations: 371.8 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.148, allocations: 12.03 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/1.148, allocations: 0.5 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/1.148, allocations: 171.5 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.148, allocations: 1.594 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/1.148, allocations: 9.438 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.454e-05/1.148, allocations: 4 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/1.149, allocations: 41.69 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.149, allocations: 0.5312 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.149, allocations: 0.5938 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.149, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/1.149, allocations: 141.5 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.062e-05/1.149, allocations: 27.16 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.149, allocations: 18.67 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/1.149, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.149, allocations: 34.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/1.149, allocations: 4.531 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002381/1.149, allocations: 56.3 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.149, allocations: 51.41 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/1.149, allocations: 93 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.149, allocations: 25.7 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/1.15, allocations: 80.14 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.15, allocations: 6.75 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-06/1.15, allocations: 4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.15, allocations: 318.8 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/1.15, allocations: 8 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/1.15, allocations: 4 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/1.15, allocations: 15.77 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.15, allocations: 4 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001597/1.15, allocations: 49.62 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.15, allocations: 11.98 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.15, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.15, allocations: 4 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/1.15, allocations: 2.625 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/1.15, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/1.15, allocations: 3.312 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/1.15, allocations: 4 kB / 1.105 GB, free: 11.75 MB / 0.7136 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 8.214e-05/1.15, allocations: 109.2 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001619/1.151, allocations: 57.67 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/1.151, allocations: 3.938 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/1.151, allocations: 70.22 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.151, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.151, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.151, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/1.151, allocations: 134.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.151, allocations: 4.062 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/1.151, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.151, allocations: 4 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/1.151, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.151, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.151, allocations: 0 / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/1.151, allocations: 72.98 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/1.151, allocations: 85.09 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.151, allocations: 8.016 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/1.151, allocations: 3.938 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/1.151, allocations: 0 / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.151, allocations: 4 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.691e-05/1.152, allocations: 87.27 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-07/1.152, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004552/1.152, allocations: 75.84 kB / 1.105 GB, free: 10.94 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001195/1.153, allocations: 0.8093 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001434/1.153, allocations: 75.33 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.153, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/1.153, allocations: 29.7 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/1.154, allocations: 2.062 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.155, allocations: 264.1 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.155, allocations: 0.6768 MB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.013e-05/1.155, allocations: 12.11 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/1.155, allocations: 7.438 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.155, allocations: 0 / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/1.198, allocations: 2.046 MB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/1.198, allocations: 233.2 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.558, allocations: 0 / 1.109 GB, free: 6.766 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)