Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.0008971/0.0008973, allocations: 186.3 kB / 372.9 MB, free: 10.14 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.49/1.49, allocations: 205.4 MB / 0.6316 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006865/0.0006867, allocations: 86.3 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 11.91 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0006534/0.2166, allocations: 278.2 kB / 0.981 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.218, allocations: 1.2 MB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.218, allocations: 0 / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2181, allocations: 3.938 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.2182, allocations: 0 / 0.9822 GB, free: 25.86 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2187, allocations: 259.5 kB / 0.9824 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.2188, allocations: 59.86 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2188, allocations: 8 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.2188, allocations: 43.91 kB / 0.9825 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.2189, allocations: 39.89 kB / 0.9826 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2189, allocations: 11.88 kB / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.2192, allocations: 199.6 kB / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.2192, allocations: 4 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.2193, allocations: 57.55 kB / 0.9828 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2195, allocations: 191.7 kB / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2195, allocations: 4 kB / 0.983 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2195, allocations: 3.938 kB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2195, allocations: 0 / 0.983 GB, free: 24.98 MB / 0.6198 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.0002466/0.2197, allocations: 421.3 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2198, allocations: 8.031 kB / 0.9834 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.2198, allocations: 4.938 kB / 0.9834 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.2199, allocations: 184.3 kB / 0.9836 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2199, allocations: 8.312 kB / 0.9836 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.22, allocations: 8.312 kB / 0.9836 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2201, allocations: 129.7 kB / 0.9838 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2202, allocations: 0 / 0.9838 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2202, allocations: 8 kB / 0.9838 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2202, allocations: 0 / 0.9838 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.2203, allocations: 59.94 kB / 0.9838 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.2204, allocations: 161.7 kB / 0.984 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2205, allocations: 110.6 kB / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.2206, allocations: 104.8 kB / 0.9842 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-06/0.2206, allocations: 4 kB / 0.9842 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.2206, allocations: 38.5 kB / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.2206, allocations: 0 / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003773/0.221, allocations: 295.1 kB / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.221, allocations: 89.09 kB / 0.9846 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.2211, allocations: 121.8 kB / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2211, allocations: 29.7 kB / 0.9847 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.2212, allocations: 92.16 kB / 0.9848 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.2212, allocations: 19.8 kB / 0.9848 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/0.2212, allocations: 3.938 kB / 0.9848 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.2213, allocations: 319.2 kB / 0.9851 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.2214, allocations: 59.94 kB / 0.9852 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.2214, allocations: 55.95 kB / 0.9853 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2216, allocations: 184.2 kB / 0.9854 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2216, allocations: 3.938 kB / 0.9854 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002237/0.2218, allocations: 235.2 kB / 0.9857 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.2219, allocations: 49.69 kB / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2219, allocations: 0 / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2219, allocations: 0 / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2219, allocations: 0 / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2219, allocations: 0 / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.2222, allocations: 27.86 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2222, allocations: 15.98 kB / 0.9858 GB, free: 21.93 MB / 0.6198 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 8.752e-05/0.2223, allocations: 163.5 kB / 0.9859 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2223, allocations: 19.78 kB / 0.9859 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/0.2223, allocations: 12.38 kB / 0.9859 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2223, allocations: 0 / 0.9859 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2223, allocations: 0 / 0.9859 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.2224, allocations: 89 kB / 0.986 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2224, allocations: 11.98 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2226, allocations: 15.98 kB / 0.986 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.2226, allocations: 7.984 kB / 0.9861 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002732/0.2229, allocations: 402.2 kB / 0.9864 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002742/0.2232, allocations: 440.2 kB / 0.9869 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/0.2233, allocations: 139.9 kB / 0.987 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.2233, allocations: 95.27 kB / 0.9871 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of Backend: time 2e-07/0.2233, allocations: 0 / 0.9871 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.2244, allocations: 0.5862 MB / 0.9877 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002429/0.2246, allocations: 0.6593 MB / 0.9883 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.005014/0.2296, allocations: 3.884 MB / 0.9921 GB, free: 15.41 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)