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: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001229/0.001229, allocations: 184.2 kB / 492.3 MB, free: 0.5977 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.571/1.571, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008797/0.0008797, allocations: 91.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.785e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3516, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.398, allocations: 151.1 MB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.398, allocations: 93.45 kB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0128/1.411, allocations: 4.585 MB / 1.365 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.946e-06/1.411, allocations: 2.906 kB / 1.365 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.411, allocations: 3.812 kB / 1.365 GB, free: 34.44 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.0004562/1.412, allocations: 371.2 kB / 1.365 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.412, allocations: 7.719 kB / 1.365 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/1.412, allocations: 83.09 kB / 1.365 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/1.412, allocations: 244.7 kB / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.412, allocations: 154.5 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/1.412, allocations: 154.4 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.888e-05/1.412, allocations: 105 kB / 1.366 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.412, allocations: 83.16 kB / 1.366 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/1.412, allocations: 154.6 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/1.412, allocations: 154.6 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/1.412, allocations: 154 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/1.412, allocations: 455.8 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/1.412, allocations: 169.1 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/1.412, allocations: 88.05 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/1.412, allocations: 75.28 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.413, allocations: 105.8 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/1.413, allocations: 0 / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.713e-05/1.413, allocations: 33.58 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.413, allocations: 134.6 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/1.413, allocations: 95.81 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.413, allocations: 28.95 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.413, allocations: 87.38 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/1.413, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.413, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/1.413, allocations: 318.7 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/1.413, allocations: 9.375 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/1.413, allocations: 11.72 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/1.413, allocations: 10.27 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.413, allocations: 0 / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/1.413, allocations: 50.77 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.413, allocations: 9.062 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.413, allocations: 0 / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.413, allocations: 3.875 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/1.413, allocations: 0 / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.413, allocations: 0 / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/1.413, allocations: 3.266 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.413, allocations: 7.844 kB / 1.368 GB, free: 31.09 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 8.771e-05/1.413, allocations: 185.6 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/1.413, allocations: 104.9 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/1.414, allocations: 110.5 kB / 1.368 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/1.414, allocations: 180.2 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-05/1.414, allocations: 184.1 kB / 1.369 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.562e-05/1.414, allocations: 176.3 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/1.414, allocations: 411.1 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/1.414, allocations: 103.6 kB / 1.369 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/1.414, allocations: 104.9 kB / 1.369 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.564e-05/1.414, allocations: 176.3 kB / 1.369 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/1.414, allocations: 184.1 kB / 1.37 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.442e-05/1.414, allocations: 186.1 kB / 1.37 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.459e-05/1.414, allocations: 184.2 kB / 1.37 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.415, allocations: 306.4 kB / 1.37 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/1.415, allocations: 197.7 kB / 1.37 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/1.415, allocations: 176.3 kB / 1.371 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/1.415, allocations: 108.5 kB / 1.371 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/1.415, allocations: 184 kB / 1.371 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.415, allocations: 104.8 kB / 1.371 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.073e-05/1.415, allocations: 86.23 kB / 1.371 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.415, allocations: 0 / 1.371 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004844/1.416, allocations: 72.47 kB / 1.371 GB, free: 27.54 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.0009242/1.416, allocations: 391.5 kB / 1.372 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001402/1.417, allocations: 73.83 kB / 1.372 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.417, allocations: 3.938 kB / 1.372 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.417, allocations: 0 / 1.372 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/1.417, allocations: 0.5184 MB / 1.372 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/1.417, allocations: 137.6 kB / 1.372 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/1.418, allocations: 0.6795 MB / 1.373 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.009e-05/1.418, allocations: 6.656 kB / 1.373 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/1.418, allocations: 11.28 kB / 1.373 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.418, allocations: 0 / 1.373 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.004866/1.423, allocations: 1.531 MB / 1.374 GB, free: 25.71 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)