Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.873/1.873, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001612/0.001611, allocations: 180.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 95.42 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.37e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6784, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.8692, allocations: 140.7 MB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8695, allocations: 92.8 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02786/0.8974, allocations: 10.31 MB / 1.121 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8974, allocations: 0 / 1.121 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8974, allocations: 0 / 1.121 GB, free: 15.06 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004769/0.8979, allocations: 416 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.898, allocations: 16.02 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.898, allocations: 7.938 kB / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.8982, allocations: 182 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.8982, allocations: 4 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.8982, allocations: 4 kB / 1.122 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000143/0.8984, allocations: 59.95 kB / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.8986, allocations: 113.5 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.8986, allocations: 1.875 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.8987, allocations: 7.562 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8987, allocations: 0 / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.8989, allocations: 138.7 kB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.899, allocations: 118.5 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8991, allocations: 92.91 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.8991, allocations: 0 / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.8992, allocations: 34.56 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.8992, allocations: 0 / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.00045/0.8996, allocations: 181.6 kB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8997, allocations: 85.11 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.8998, allocations: 128.4 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.8998, allocations: 25.7 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.8998, allocations: 92.12 kB / 1.123 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.8999, allocations: 11.81 kB / 1.123 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.8999, allocations: 4 kB / 1.123 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9, allocations: 318.8 kB / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.9001, allocations: 55.95 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.9002, allocations: 51.95 kB / 1.123 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.9004, allocations: 71.97 kB / 1.123 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9004, allocations: 0 / 1.123 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003444/0.9007, allocations: 189.4 kB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.9008, allocations: 46.94 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9008, allocations: 0 / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9008, allocations: 3.938 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-06/0.9008, allocations: 0 / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.9008, allocations: 0 / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.901, allocations: 15.98 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.9011, allocations: 15.98 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001377/0.9012, allocations: 150.7 kB / 1.123 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003848/0.9016, allocations: 221.3 kB / 1.124 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.9017, allocations: 11.91 kB / 1.124 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.9017, allocations: 4.625 kB / 1.124 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9017, allocations: 0 / 1.124 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9017, allocations: 0 / 1.124 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9017, allocations: 4 kB / 1.124 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.9019, allocations: 157.4 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9019, allocations: 0 / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.9019, allocations: 4.031 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9019, allocations: 0 / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.9019, allocations: 15.98 kB / 1.124 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9019, allocations: 0 / 1.124 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9019, allocations: 0 / 1.124 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.9023, allocations: 236.9 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.9024, allocations: 92.95 kB / 1.124 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.9025, allocations: 8 kB / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.9027, allocations: 16.02 kB / 1.124 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.9027, allocations: 15.92 kB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.9028, allocations: 13.95 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.9028, allocations: 91.28 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.654e-06/0.9028, allocations: 4 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004371/0.9033, allocations: 95.91 kB / 1.124 GB, free: 11.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001454/0.9047, allocations: 1.009 MB / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.9051, allocations: 275.2 kB / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9051, allocations: 0 / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.9053, allocations: 207.3 kB / 1.126 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.9054, allocations: 4 kB / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9067, allocations: 0.5295 MB / 1.126 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.907, allocations: 0.6947 MB / 1.127 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.9071, allocations: 46.23 kB / 1.127 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.9072, allocations: 11.44 kB / 1.127 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9072, allocations: 0 / 1.127 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.9297, allocations: 4.073 MB / 1.131 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.9299, allocations: 204 kB / 1.131 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.53, allocations: 2.719 kB / 1.131 GB, free: 4.176 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)