Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.783/1.783, allocations: 297.8 MB / 313.7 MB, free: 52 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 170.9 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 0.6626 GB, free: 4.309 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000768/0.0007681, allocations: 110.9 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005542/0.0005542, allocations: 12 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6281, allocations: 120.3 MB / 1.026 GB, free: 57.15 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.8128, allocations: 142.9 MB / 1.166 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.8131, allocations: 84.75 kB / 1.166 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.8249, allocations: 4.675 MB / 1.17 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.027e-06/0.825, allocations: 0 / 1.17 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.825, allocations: 5.75 kB / 1.17 GB, free: 10.61 MB / 0.7448 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.0003261/0.8253, allocations: 375.5 kB / 1.171 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8254, allocations: 12.03 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.8254, allocations: 81.22 kB / 1.171 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.8256, allocations: 241 kB / 1.171 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.8256, allocations: 152.1 kB / 1.171 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.8257, allocations: 160.9 kB / 1.171 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.8258, allocations: 101.5 kB / 1.172 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.8258, allocations: 75.47 kB / 1.172 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.8259, allocations: 158.5 kB / 1.172 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.8259, allocations: 150.6 kB / 1.172 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.826, allocations: 162.5 kB / 1.172 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.8262, allocations: 449.9 kB / 1.172 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.8263, allocations: 174.2 kB / 1.173 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.8264, allocations: 84.14 kB / 1.173 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.8264, allocations: 75.28 kB / 1.173 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.8265, allocations: 105.8 kB / 1.173 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.8265, allocations: 0 / 1.173 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.573e-05/0.8265, allocations: 41.56 kB / 1.173 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.8266, allocations: 130.7 kB / 1.173 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.8267, allocations: 101.8 kB / 1.173 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.8267, allocations: 25.7 kB / 1.173 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.8268, allocations: 88.12 kB / 1.173 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.8268, allocations: 0 / 1.173 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.8268, allocations: 3.938 kB / 1.173 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8269, allocations: 314.8 kB / 1.174 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.8269, allocations: 4 kB / 1.174 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.827, allocations: 15.92 kB / 1.174 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.827, allocations: 20.89 kB / 1.174 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.827, allocations: 0 / 1.174 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001186/0.8271, allocations: 51.38 kB / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8272, allocations: 4 kB / 1.174 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.8272, allocations: 11.92 kB / 1.174 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8272, allocations: 0 / 1.174 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.8272, allocations: 0 / 1.174 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.8272, allocations: 0 / 1.174 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.8273, allocations: 8.031 kB / 1.174 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.8273, allocations: 4 kB / 1.174 GB, free: 7.07 MB / 0.7448 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: 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 9.987e-05/0.8274, allocations: 185.1 kB / 1.174 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.8275, allocations: 112.9 kB / 1.174 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.8275, allocations: 108 kB / 1.174 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.471e-05/0.8276, allocations: 176.3 kB / 1.174 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/0.8277, allocations: 184.2 kB / 1.174 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-05/0.8278, allocations: 180.3 kB / 1.175 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.828, allocations: 405.2 kB / 1.175 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/0.828, allocations: 101 kB / 1.175 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.8281, allocations: 105 kB / 1.175 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.288e-05/0.8281, allocations: 184.2 kB / 1.175 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.8282, allocations: 188.2 kB / 1.176 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-05/0.8283, allocations: 180.2 kB / 1.176 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-05/0.8283, allocations: 184.3 kB / 1.176 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.8285, allocations: 307.8 kB / 1.176 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.8286, allocations: 186 kB / 1.176 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.8286, allocations: 184.1 kB / 1.177 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.8287, allocations: 105 kB / 1.177 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.8288, allocations: 185.9 kB / 1.177 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.8288, allocations: 101 kB / 1.177 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.8289, allocations: 83.28 kB / 1.177 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8289, allocations: 4 kB / 1.177 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000362/0.8293, allocations: 71.91 kB / 1.177 GB, free: 3.398 MB / 0.7448 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 (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.0006501/0.8299, allocations: 408.5 kB / 1.177 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.83, allocations: 67.39 kB / 1.178 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.83, allocations: 0 / 1.178 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.83, allocations: 3.938 kB / 1.178 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.8304, allocations: 0.5185 MB / 1.178 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.831, allocations: 294.5 kB / 1.178 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.8313, allocations: 0.6731 MB / 1.179 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.8313, allocations: 5.781 kB / 1.179 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.8313, allocations: 7.438 kB / 1.179 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.8314, allocations: 3.938 kB / 1.179 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.003809/0.8352, allocations: 1.519 MB / 1.18 GB, free: 15.96 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)