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: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.781/2.781, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.00155/0.00155, allocations: 187.2 kB / 370.8 MB, free: 10.87 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.353/2.353, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 97.48 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007235/0.0007234, allocations: 11.08 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2525, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007716/0.2534, allocations: 270 kB / 0.9784 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.255, allocations: 1.059 MB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.255, allocations: 4 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.5e-05/0.2551, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.2552, allocations: 4 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.2557, allocations: 143.6 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.2558, allocations: 7.984 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.2558, allocations: 4 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.2559, allocations: 7.938 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.2559, allocations: 15.91 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.256, allocations: 4 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.2563, allocations: 139.8 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.2564, allocations: 7.984 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.2564, allocations: 29.7 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2567, allocations: 135.8 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2567, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2567, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2567, allocations: 4 kB / 0.98 GB, free: 26.57 MB / 0.6198 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.0003086/0.257, allocations: 355.4 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2571, allocations: 12.02 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2571, allocations: 4 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.2572, allocations: 167 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2573, allocations: 7.984 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2573, allocations: 0 / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2574, allocations: 41.62 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2574, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2575, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.2575, allocations: 4 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.2575, allocations: 7.984 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.2577, allocations: 165.8 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.2578, allocations: 26.61 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2578, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.2578, allocations: 38.55 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.2579, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.2581, allocations: 57.69 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.2581, allocations: 55.53 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.2582, allocations: 105.8 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2582, allocations: 25.7 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.2582, allocations: 80.14 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2583, allocations: 7.844 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.2583, allocations: 3.984 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.2583, allocations: 314.8 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.2584, allocations: 8 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.2584, allocations: 16.11 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.2584, allocations: 8 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2585, allocations: 0 / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.96e-05/0.2586, allocations: 53.61 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2586, allocations: 4 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2586, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2586, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.2586, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2587, allocations: 7.938 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.2587, allocations: 96 / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2587, allocations: 4 kB / 0.9815 GB, free: 24.8 MB / 0.6198 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.531e-05/0.2588, allocations: 115.7 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2588, allocations: 3.984 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.172e-05/0.2588, allocations: 7.125 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.2589, allocations: 11.98 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2589, allocations: 0 / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2589, allocations: 0 / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.259, allocations: 153.6 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.259, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.259, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.259, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2591, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2591, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2591, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2592, allocations: 85.05 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.2592, allocations: 84.97 kB / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2593, allocations: 3.984 kB / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.2594, allocations: 8.031 kB / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.2594, allocations: 0 / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2594, allocations: 7.984 kB / 0.9819 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.2595, allocations: 75.28 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.162e-06/0.2595, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003703/0.2598, allocations: 63.92 kB / 0.9821 GB, free: 24.1 MB / 0.6198 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 (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.0007292/0.2606, allocations: 305.2 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2607, allocations: 15.94 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2607, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.2608, allocations: 11.98 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.2609, allocations: 4 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.2613, allocations: 106.8 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2614, allocations: 0.677 MB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.2615, allocations: 23.91 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.2616, allocations: 19.42 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2616, allocations: 0 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.004828/0.2664, allocations: 1.491 MB / 0.9847 GB, free: 21.46 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)