Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 109 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.518/2.518, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.83 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7372, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00158/0.7388, allocations: 0.5538 MB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.7402, allocations: 1.195 MB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.7402, allocations: 0.9062 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.992e-05/0.7403, allocations: 5.859 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.7404, allocations: 0 / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.7408, allocations: 178.7 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.7409, allocations: 11.27 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.7409, allocations: 2.234 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.7409, allocations: 11.64 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.741, allocations: 11.33 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.741, allocations: 0.6875 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.7413, allocations: 202.8 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.7414, allocations: 7.609 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.7414, allocations: 7.625 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.7416, allocations: 196.3 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7417, allocations: 1.188 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7417, allocations: 3.938 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.7417, allocations: 0 / 1.274 GB, free: 6.285 MB / 0.9981 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.0002469/0.7419, allocations: 368.5 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7419, allocations: 10.41 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.742, allocations: 106 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.742, allocations: 77.97 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.7421, allocations: 241.9 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7421, allocations: 156 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.7421, allocations: 157.5 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.219e-05/0.7421, allocations: 108.9 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7422, allocations: 75.97 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.7422, allocations: 150.6 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.7422, allocations: 163.1 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.7422, allocations: 151.5 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.7424, allocations: 451.6 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.7424, allocations: 166.7 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.7424, allocations: 84.14 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.7424, allocations: 79.91 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.7424, allocations: 114.6 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7424, allocations: 0 / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.871e-05/0.7425, allocations: 32.42 kB / 1.276 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.7425, allocations: 127.8 kB / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.7426, allocations: 109.2 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.7426, allocations: 25.7 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.7426, allocations: 81.86 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.7426, allocations: 0 / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.7426, allocations: 19.2 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.228e-05/0.7427, allocations: 321.2 kB / 1.277 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.7427, allocations: 7.047 kB / 1.277 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.7427, allocations: 10.84 kB / 1.277 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.7428, allocations: 32.14 kB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7428, allocations: 0 / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.7429, allocations: 49.34 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7429, allocations: 7.141 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7429, allocations: 0 / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.7429, allocations: 1.062 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.7429, allocations: 0 / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.7429, allocations: 0.9688 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.743, allocations: 6.672 kB / 1.277 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.743, allocations: 2.484 kB / 1.277 GB, free: 2.766 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.743, allocations: 187.9 kB / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.7431, allocations: 117.8 kB / 1.277 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.7432, allocations: 106 kB / 1.277 GB, free: 18.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.86e-05/0.7432, allocations: 181 kB / 1.278 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.861e-05/0.7433, allocations: 184.5 kB / 1.278 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-05/0.7434, allocations: 181.4 kB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.7436, allocations: 406.4 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/0.7436, allocations: 109.6 kB / 1.278 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.7437, allocations: 113.8 kB / 1.279 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-05/0.7437, allocations: 178.8 kB / 1.279 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.7438, allocations: 186 kB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.788e-05/0.7439, allocations: 186.7 kB / 1.279 GB, free: 16.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-05/0.7439, allocations: 177.3 kB / 1.279 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7441, allocations: 301.9 kB / 1.28 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.7441, allocations: 192.7 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.7442, allocations: 181.2 kB / 1.28 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.7443, allocations: 103.2 kB / 1.28 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.7444, allocations: 182.1 kB / 1.28 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.7444, allocations: 102.2 kB / 1.28 GB, free: 15.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.7444, allocations: 85.7 kB / 1.28 GB, free: 15.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7444, allocations: 4.781 kB / 1.28 GB, free: 15.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002812/0.7447, allocations: 54.84 kB / 1.28 GB, free: 15.18 MB / 1.014 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009365/0.7457, allocations: 1.023 MB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.7457, allocations: 11.81 kB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.7457, allocations: 0 / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.7457, allocations: 0.5312 kB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.7461, allocations: 457 kB / 1.282 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.747, allocations: 1.326 MB / 1.283 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.7473, allocations: 0.6737 MB / 1.284 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.062e-05/0.7474, allocations: 11.58 kB / 1.284 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.7474, allocations: 19.09 kB / 1.284 GB, free: 11.81 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7474, allocations: 0 / 1.284 GB, free: 11.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.773, allocations: 2.538 MB / 1.286 GB, free: 11.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.992, allocations: 5.484 kB / 1.286 GB, free: 11.09 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.614853758001118]