Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_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.936/1.936, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001012/0.001011, allocations: 172.9 kB / 366.7 MB, free: 1.645 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.793/1.793, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008487/0.0008487, allocations: 89.81 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.674e-05, allocations: 0 / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7541, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.955, allocations: 141.6 MB / 1.112 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.9554, allocations: 99.91 kB / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0314/0.9868, allocations: 11.4 MB / 1.123 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9869, allocations: 4.5 kB / 1.123 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.9869, allocations: 0.7188 kB / 1.123 GB, free: 13.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.000699/0.9876, allocations: 442.2 kB / 1.123 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.9877, allocations: 8.031 kB / 1.123 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.9877, allocations: 4 kB / 1.123 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.9879, allocations: 178.9 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.988, allocations: 4 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.988, allocations: 4 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001528/0.9882, allocations: 65.73 kB / 1.124 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.9884, allocations: 117.6 kB / 1.124 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9884, allocations: 0 / 1.124 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.9884, allocations: 4 kB / 1.124 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9884, allocations: 0 / 1.124 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.9886, allocations: 138.2 kB / 1.124 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.9887, allocations: 114.5 kB / 1.124 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.9889, allocations: 101.9 kB / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.9889, allocations: 0 / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.9889, allocations: 38.55 kB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.9889, allocations: 0 / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005053/0.9894, allocations: 173.6 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.9895, allocations: 93.09 kB / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9896, allocations: 115.8 kB / 1.124 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.9897, allocations: 25.7 kB / 1.124 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.9897, allocations: 96.11 kB / 1.125 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.9898, allocations: 27.67 kB / 1.125 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.9898, allocations: 4 kB / 1.125 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9899, allocations: 310.8 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.99, allocations: 59.95 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.9901, allocations: 51.95 kB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.9903, allocations: 67.69 kB / 1.125 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9903, allocations: 0 / 1.125 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000386/0.9907, allocations: 193.4 kB / 1.125 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.9908, allocations: 49.75 kB / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9908, allocations: 0 / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.9908, allocations: 0 / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-06/0.9908, allocations: 7.984 kB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.9909, allocations: 0 / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.9911, allocations: 11.98 kB / 1.125 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.9911, allocations: 15.98 kB / 1.125 GB, free: 10.38 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.0001555/0.9913, allocations: 154.7 kB / 1.125 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004135/0.9917, allocations: 221.3 kB / 1.126 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.9917, allocations: 15.94 kB / 1.126 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.9918, allocations: 4.625 kB / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9918, allocations: 0 / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.9918, allocations: 0 / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9918, allocations: 0 / 1.126 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.9919, allocations: 154.2 kB / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9919, allocations: 0 / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.9919, allocations: 3 kB / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.9919, allocations: 0 / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.992, allocations: 15.98 kB / 1.126 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.992, allocations: 0 / 1.126 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.992, allocations: 4 kB / 1.126 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.9925, allocations: 234.8 kB / 1.126 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.9925, allocations: 100.9 kB / 1.126 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.9926, allocations: 11.92 kB / 1.126 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9928, allocations: 11.98 kB / 1.126 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.9928, allocations: 12 kB / 1.126 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.9929, allocations: 15.98 kB / 1.126 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.9929, allocations: 95.3 kB / 1.126 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9929, allocations: 0 / 1.126 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004336/0.9934, allocations: 107.9 kB / 1.126 GB, free: 9.152 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.001531/0.9949, allocations: 1.068 MB / 1.127 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.9953, allocations: 275.3 kB / 1.128 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9953, allocations: 0 / 1.128 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.9955, allocations: 207.4 kB / 1.128 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.9957, allocations: 13.58 kB / 1.128 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.997, allocations: 0.5511 MB / 1.128 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9973, allocations: 0.6853 MB / 1.129 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.723e-05/0.9974, allocations: 61.62 kB / 1.129 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.9975, allocations: 15.44 kB / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.9975, allocations: 0 / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/1.023, allocations: 4.399 MB / 1.133 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.023, allocations: 209.2 kB / 1.134 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.794, allocations: 0 / 1.134 GB, free: 1.695 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)