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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009782/0.0009782, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.000539, allocations: 20.55 kB / 0.6736 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3144, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008005/0.3152, allocations: 270 kB / 0.7874 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.317, allocations: 1.192 MB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.317, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3171, allocations: 11.88 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.3172, allocations: 3.984 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.3178, allocations: 255.4 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.3179, allocations: 47.92 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.318, allocations: 7.984 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.3181, allocations: 47.89 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.3181, allocations: 35.91 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3182, allocations: 4 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.3185, allocations: 163.7 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.3185, allocations: 11.92 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.3186, allocations: 33.7 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3189, allocations: 199.7 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3189, allocations: 0 / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3189, allocations: 0 / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3189, allocations: 0 / 0.7893 GB, free: 9.664 MB / 0.6075 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.000432/0.3193, allocations: 425.2 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3194, allocations: 8.031 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.3194, allocations: 8 kB / 0.7898 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3196, allocations: 182.9 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3196, allocations: 4 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3197, allocations: 4 kB / 0.7899 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3199, allocations: 129.6 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3199, allocations: 0 / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3199, allocations: 4 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3199, allocations: 0 / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3201, allocations: 59.94 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3202, allocations: 161.7 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3204, allocations: 118.5 kB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3204, allocations: 0 / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3204, allocations: 42.66 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3204, allocations: 0 / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005384/0.321, allocations: 364.3 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3211, allocations: 93.09 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3212, allocations: 129.6 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3212, allocations: 37.64 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.3213, allocations: 84.14 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3213, allocations: 19.81 kB / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.3213, allocations: 0 / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3214, allocations: 322.8 kB / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.3215, allocations: 55.95 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.3216, allocations: 63.94 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.3217, allocations: 85.66 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3218, allocations: 4.031 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003067/0.3221, allocations: 231.2 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.3221, allocations: 45.69 kB / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3221, allocations: 0 / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3222, allocations: 0 / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3222, allocations: 0 / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3222, allocations: 0 / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.3225, allocations: 27.91 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3225, allocations: 15.92 kB / 0.7919 GB, free: 6.727 MB / 0.6075 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 () * Number of clocked 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.0001633/0.3227, allocations: 171.5 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3227, allocations: 11.91 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.3228, allocations: 8.375 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3228, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3228, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3228, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.3229, allocations: 181.5 kB / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3229, allocations: 0 / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3229, allocations: 0 / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3229, allocations: 0 / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.323, allocations: 11.98 kB / 0.7923 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.323, allocations: 4 kB / 0.7923 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.323, allocations: 0 / 0.7923 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3234, allocations: 294.8 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3234, allocations: 89.05 kB / 0.7927 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3235, allocations: 4 kB / 0.7927 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3237, allocations: 23.97 kB / 0.7927 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3237, allocations: 11.92 kB / 0.7927 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3237, allocations: 23.97 kB / 0.7927 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.3238, allocations: 99.56 kB / 0.7928 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3238, allocations: 0 / 0.7928 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003394/0.3242, allocations: 91.98 kB / 0.7929 GB, free: 5.613 MB / 0.6075 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]) * Number of clocked states: 0 () * 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.0008351/0.325, allocations: 390.4 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.3254, allocations: 287.3 kB / 0.7936 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3254, allocations: 4.062 kB / 0.7936 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.3256, allocations: 215.3 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.3258, allocations: 10.52 kB / 0.7938 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.3262, allocations: 242.9 kB / 0.794 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3265, allocations: 0.6926 MB / 0.7947 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.313e-05/0.3266, allocations: 59.92 kB / 0.7948 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3266, allocations: 11.44 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3266, allocations: 0 / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.007015/0.3336, allocations: 3.885 MB / 0.7986 GB, free: 15.89 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1) Environment - environmentSimulation: