Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) 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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 192.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.42 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.343, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001878/0.3449, allocations: 0.595 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3465, allocations: 1.123 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.3466, allocations: 4 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.129e-05/0.3467, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3467, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.3471, allocations: 135.7 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.3472, allocations: 15.98 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3473, allocations: 8 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.3473, allocations: 11.92 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.3473, allocations: 7.984 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.3474, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.3477, allocations: 171.7 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.3478, allocations: 15.97 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.3478, allocations: 11.88 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3481, allocations: 187.7 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3481, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3481, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3481, allocations: 4 kB / 1.07 GB, free: 8.621 MB / 0.8262 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.000393/0.3485, allocations: 359.6 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3486, allocations: 12.02 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.3486, allocations: 80.22 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3488, allocations: 243.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.3489, allocations: 150.9 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.349, allocations: 158.9 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.349, allocations: 113 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.3491, allocations: 75.28 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.3491, allocations: 150.6 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.587e-05/0.3492, allocations: 150.6 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.3492, allocations: 150.6 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.3496, allocations: 461.8 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.92e-05/0.3497, allocations: 169.1 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.3497, allocations: 84.14 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3497, allocations: 79.27 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.3498, allocations: 117.8 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3498, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.993e-05/0.3499, allocations: 29.64 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3499, allocations: 130.7 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3501, allocations: 101.8 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3501, allocations: 33.62 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.3501, allocations: 84.14 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3502, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3502, allocations: 17.72 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3503, allocations: 314.8 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.3504, allocations: 11.98 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.3504, allocations: 4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.3504, allocations: 24.84 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3505, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001501/0.3506, allocations: 57.56 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3506, allocations: 8.125 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3506, allocations: 7.984 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3507, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3507, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3507, allocations: 7.984 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.3508, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3508, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 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 0.0001088/0.3509, allocations: 181.1 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.351, allocations: 120.9 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3511, allocations: 111.9 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.3511, allocations: 176.3 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-05/0.3512, allocations: 180.2 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/0.3513, allocations: 188.2 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3515, allocations: 405.2 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.3515, allocations: 105 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.3516, allocations: 108.9 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.768e-05/0.3517, allocations: 180.2 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.3517, allocations: 180.2 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.044e-05/0.3518, allocations: 184.2 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/0.3519, allocations: 184.3 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.352, allocations: 307.7 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.3521, allocations: 186 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.3522, allocations: 180.2 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3523, allocations: 105 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.3523, allocations: 180.3 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.3524, allocations: 108.9 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.3525, allocations: 83.28 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3525, allocations: 0 / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003396/0.3528, allocations: 51.98 kB / 1.076 GB, free: 1.41 MB / 0.8262 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.0006914/0.3535, allocations: 392.7 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.3536, allocations: 8 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3536, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.3536, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.354, allocations: 0.5424 MB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.3543, allocations: 166.2 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3546, allocations: 0.677 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.3547, allocations: 7.984 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.3547, allocations: 15.44 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3547, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.004027/0.3588, allocations: 1.509 MB / 1.08 GB, free: 14.11 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)