Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.43/2.43, allocations: 390.5 MB / 398 MB, free: 10.98 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.001491/0.001491, allocations: 176.8 kB / 491.2 MB, free: 1.613 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.623/1.623, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.00116, allocations: 99.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.118e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.465, allocations: 151.3 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/1.466, allocations: 92.5 kB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/1.479, allocations: 4.474 MB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.479, allocations: 3.938 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.479, allocations: 0 / 1.365 GB, free: 32.73 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.0004612/1.48, allocations: 372.1 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/1.48, allocations: 11.03 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/1.48, allocations: 83.23 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/1.48, allocations: 244.4 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/1.48, allocations: 150.6 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/1.48, allocations: 154.5 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.001e-05/1.48, allocations: 158.5 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.711e-05/1.48, allocations: 104.8 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/1.48, allocations: 85.98 kB / 1.366 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/1.48, allocations: 150.6 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/1.48, allocations: 154.6 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/1.481, allocations: 431.8 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.293e-05/1.481, allocations: 176.6 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/1.481, allocations: 80.14 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/1.481, allocations: 75.28 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/1.481, allocations: 105.8 kB / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/1.481, allocations: 0 / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/1.481, allocations: 32.95 kB / 1.367 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.481, allocations: 55.41 kB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.481, allocations: 95.56 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.481, allocations: 25.7 kB / 1.367 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/1.481, allocations: 89.48 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/1.481, allocations: 0 / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/1.481, allocations: 0 / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.481, allocations: 314.8 kB / 1.368 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/1.482, allocations: 7.688 kB / 1.368 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/1.482, allocations: 14.36 kB / 1.368 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/1.482, allocations: 14.41 kB / 1.368 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.482, allocations: 0 / 1.368 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/1.482, allocations: 54.58 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.482, allocations: 5.562 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.482, allocations: 6.688 kB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.482, allocations: 0 / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/1.482, allocations: 0 / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.482, allocations: 0 / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/1.482, allocations: 0 / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/1.482, allocations: 7.906 kB / 1.368 GB, free: 29.49 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.000116/1.482, allocations: 184.1 kB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.594e-05/1.482, allocations: 136.1 kB / 1.368 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/1.482, allocations: 104.8 kB / 1.368 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/1.482, allocations: 115.6 kB / 1.368 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/1.483, allocations: 176.3 kB / 1.368 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/1.483, allocations: 180.3 kB / 1.369 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-05/1.483, allocations: 184 kB / 1.369 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/1.483, allocations: 387.8 kB / 1.369 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/1.483, allocations: 107.8 kB / 1.369 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/1.483, allocations: 104.9 kB / 1.369 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-05/1.483, allocations: 176.3 kB / 1.369 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/1.483, allocations: 180.3 kB / 1.37 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-05/1.483, allocations: 191.1 kB / 1.37 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/1.483, allocations: 179.6 kB / 1.37 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/1.484, allocations: 310.3 kB / 1.37 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/1.484, allocations: 185.5 kB / 1.37 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/1.484, allocations: 177.2 kB / 1.371 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/1.484, allocations: 111.8 kB / 1.371 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/1.484, allocations: 176.3 kB / 1.371 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/1.484, allocations: 105 kB / 1.371 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.674e-05/1.484, allocations: 82.62 kB / 1.371 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.484, allocations: 4 kB / 1.371 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003971/1.484, allocations: 79.06 kB / 1.371 GB, free: 25.82 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.004071/1.488, allocations: 1.019 MB / 1.372 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001471/1.489, allocations: 65.7 kB / 1.372 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.489, allocations: 4.062 kB / 1.372 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/1.489, allocations: 3.938 kB / 1.372 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/1.489, allocations: 0.5257 MB / 1.373 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/1.49, allocations: 196 kB / 1.373 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.49, allocations: 0.6751 MB / 1.374 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.883e-05/1.49, allocations: 14.44 kB / 1.374 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/1.49, allocations: 10.16 kB / 1.374 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.49, allocations: 0 / 1.374 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/1.517, allocations: 1.921 MB / 1.376 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/1.517, allocations: 245.8 kB / 1.376 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/3.273, allocations: 0 / 1.376 GB, free: 22.94 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)